This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Learn function name by its address


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
ã


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]