Re: elf core file format for powerpc

rahul dev
2008-02-05T13:26:14Z

Thanks for your reply.
But, is there any link/documentation that describes the core file
format for EM_PPC ?

--- On Tue, 5/2/08, Daniel Jacobowitz <drow@false.org> wrote:

> From: Daniel Jacobowitz <drow@false.org>
> Subject: Re: elf core file format for powerpc
> To: "rahul dev" <rahul_dev_agg@yahoo.co.in>
> Cc: gdb@sourceware.org
> Date: Tuesday, 5 February, 2008, 6:49 PM
> 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

5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html