This is the mail archive of the
mailing list for the GDB project.
Re: elf core file format for powerpc
On Feb 5, 2008 11:31 AM, Jim Blandy <email@example.com> wrote:
> One source of confusion is that the code in GDB that operates on BFD
> sections is actually accessing ELF notes, in a PT_NOTE program header.
> When BFD opens a core file and sees a PT_NOTE program header, it
> turns each note into a "section" with a known name. See
> bfd/elfcore.h:elf_core_file_p, and uses of
(Thus Daniel's recommendation that you use elfread, instead of
objdump. objdump presents BFD's point of view on the world, and
'magic' processing of this sort is pretty confusing. readelf shows
you exactly what's there.)