From: "Jim Blandy" <jimb@red-bean.com>
To: rahul_dev_agg@yahoo.co.in
Cc: gdb@sourceware.org
Subject: Re: elf core file format for powerpc
Date: Tue, 05 Feb 2008 19:37:00 -0000 [thread overview]
Message-ID: <8f2776cb0802051137j330a737bt912615a3d2b9a271@mail.gmail.com> (raw)
In-Reply-To: <8f2776cb0802051131s2d8e866cu3c06984a4dba9743@mail.gmail.com>
On Feb 5, 2008 11:31 AM, Jim Blandy <jimb@red-bean.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
> _bfd_elfcore_make_pseudosection.
(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.)
next prev parent reply other threads:[~2008-02-05 19:37 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
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 [this message]
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=8f2776cb0802051137j330a737bt912615a3d2b9a271@mail.gmail.com \
--to=jimb@red-bean.com \
--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