Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Learn function name by its address
@ 2009-06-25 15:43 Dmitry Dzhus
  2009-06-25 15:53 ` Paul Pluzhnikov
  0 siblings, 1 reply; 17+ messages in thread
From: Dmitry Dzhus @ 2009-06-25 15:43 UTC (permalink / raw)
  To: gdb

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
ã‚€


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-06-27  9:40 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-25 15:43 Learn function name by its address Dmitry Dzhus
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox