From: Daniel Jacobowitz <drow@false.org>
To: rahul dev <rahul_dev_agg@yahoo.co.in>
Cc: gdb@sourceware.org
Subject: Re: elf core file format for powerpc
Date: Tue, 05 Feb 2008 13:19:00 -0000 [thread overview]
Message-ID: <20080205131927.GC10652@caradoc.them.org> (raw)
In-Reply-To: <212813.1619.qm@web94607.mail.in2.yahoo.com>
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
next prev parent reply other threads:[~2008-02-05 13:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-05 13:07 rahul dev
2008-02-05 13:19 ` Daniel Jacobowitz [this message]
2008-02-05 13:26 ` rahul dev
2008-02-05 13:31 ` Daniel Jacobowitz
2008-02-05 13:43 ` rahul dev
2008-02-05 19:32 ` Jim Blandy
2008-02-05 19:37 ` Jim Blandy
2008-02-05 19:45 ` rahul dev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080205131927.GC10652@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=rahul_dev_agg@yahoo.co.in \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox