Learn function name by its address

Dmitry Dzhus dima@sphinx.net.ru
Thu Jun 25 15:43:00 GMT 2009


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



More information about the Gdb mailing list