elf core file format for powerpc
Daniel Jacobowitz
drow@false.org
Tue Feb 5 13:19:00 GMT 2008
On Tue, Feb 05, 2008 at 06:37:08PM +0530, rahul dev wrote:
> Also, is anyone aware of any link that describes the core file format (elf, linux over powerpc) ? I particulary need information about "note0, .reg, .reg2" sections.
You're using objdump; try using readelf instead. That gives a more
accurate picture of the contents. Then read the ELF gABI which
describes the format of core files.
> Also, is the code for "gcore" available on the internet. I need the
> source code for "gcore" that creates a core file in elf format and
> also adds sections "note0, .reg, .reg2".
Of course it is. It's in the source package for GDB. But it uses the
BFD library, so it's a little complicated to find out where each piece
is implemented.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list