From: Dmitry Dzhus <dima@sphinx.net.ru>
To: gdb@sources.redhat.com
Subject: Learn function name by its address
Date: Thu, 25 Jun 2009 15:43:00 -0000 [thread overview]
Message-ID: <8763ekb9ql.fsf@sphinx.net.ru> (raw)
GDB's CLI command for examining memory provides helpful
`<function+offset>` annotations in its output:
(gdb) x 0x80486cd
0x80486cd <main+25>: 0x0000000a
MI `-data-read-memory` command yields only addresses:
{addr="0x00001390",data=["0x00","0x01"]},
{addr="0x00001392",data=["0x02","0x03"]}
What way of finding out function name by address would you suggest?
--
Happy Hacking.
http://sphinx.net.ru
ã
next reply other threads:[~2009-06-25 15:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-25 15:43 Dmitry Dzhus [this message]
2009-06-25 15:53 ` Paul Pluzhnikov
2009-06-25 18:27 ` Michael Snyder
2009-06-25 18:36 ` Dmitry Dzhus
2009-06-25 19:14 ` Paul Pluzhnikov
2009-06-26 11:30 ` Nick Roberts
2009-06-26 16:07 ` Dmitry Dzhus
2009-06-26 6:38 ` André Pönitz
2009-06-26 7:05 ` Paul Pluzhnikov
2009-06-26 17:26 ` Tom Tromey
2009-06-26 17:35 ` Paul Pluzhnikov
2009-06-26 18:06 ` Tom Tromey
2009-06-26 18:50 ` Michael Snyder
2009-06-26 18:54 ` Paul Pluzhnikov
2009-06-26 19:19 ` Tom Tromey
2009-06-26 22:41 ` Joel Brobecker
2009-06-27 9:40 ` Eli Zaretskii
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=8763ekb9ql.fsf@sphinx.net.ru \
--to=dima@sphinx.net.ru \
--cc=gdb@sources.redhat.com \
/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