[minicoredumper] Handling of unavailable bytes in minicoredumps by GDB

Simon Marchi simon.marchi at ericsson.com
Wed Jul 6 17:39:02 CEST 2016


On 16-07-05 10:49 AM, John Ogness wrote:
> Hi,
> 
> A modified version of binutils (bfd/gdb) to automatically respect the
> minicoredumper dump list is available here:
> 
>     https://github.com/Linutronix/binutils-gdb/tree/minicoredumper-section-note
> 
> This is based on the previous work of Simon Marchi. The modifications to
> bfd result in elf_core_file_p() and elf_object_p() being nearly
> identical. It makes sense to unify these two functions if these changes
> are to go upstream. It is also up for discussion if all elf sections
> should be made available to bfd_core or only the new minicoredumper
> section.
> 
> John Ogness
> 

Great, I'll try it today.  Since it requires a version of libelf greater than a certain
version, it would be good to add a version check with pkg-config in configure.ac.  Actually,
it would be good to have that check anyway.  I'll post it if I get to something.

Simon




More information about the minicoredumper mailing list