From: rahul dev <rahul_dev_agg@yahoo.co.in>
To: gdb@sourceware.org
Subject: elf core file format for powerpc
Date: Tue, 05 Feb 2008 13:07:00 -0000 [thread overview]
Message-ID: <212813.1619.qm@web94607.mail.in2.yahoo.com> (raw)
Guys,
I am working on embedded system (powerpc based). I try to collect the memory dump over the UART and save it to file.
Next, I convert this raw data to the core file and try to analyse the contents of various global variables. gdb shows perfect results for all the variables in .data and .bss sections.
However, I do not know how to see the values of various general purpose registers and stack dump.
I generally get the following message:
warning: Couldn't find general-purpose registers in core file
It looks that the gdb try to find the ".reg" section in the core file, but it couldn't find it. I tried adding a .reg section with the register contents, still I get the same error message.
Is there ant utility by which I can add a ".reg" section to the corefile.
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.
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".
I would be highly grateful for any help/pointers.
thanks a lot......
Forgot the famous last words? Access your message archive online at http://in.messenger.yahoo.com/webmessengerpromo.php
next reply other threads:[~2008-02-05 13:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-05 13:07 rahul dev [this message]
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
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=212813.1619.qm@web94607.mail.in2.yahoo.com \
--to=rahul_dev_agg@yahoo.co.in \
--cc=gdb@sourceware.org \
/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