Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Python API: Getting symbol by address
@ 2017-12-21 18:20 Roman Popov
  2017-12-21 22:24 ` Simon Marchi
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Popov @ 2017-12-21 18:20 UTC (permalink / raw)
  To: gdb

Hello,
I have collection in C++ that stores pointers to functions and methods. I
want to pretty-print pointed method and functions names.

It is possible using GDB shell, for example:

(gdb) info symbol 0x405ece

top::test_thread() in section .text of test_procs


However I found no way to do the same using Python API.  Why such
limitation?

P/S Same question on stackoverflow :
https://stackoverflow.com/questions/47916564/gdb-python-api-getting-symbol-name-from-address

Thanks,
Roman


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

end of thread, other threads:[~2017-12-21 22:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-21 18:20 Python API: Getting symbol by address Roman Popov
2017-12-21 22:24 ` Simon Marchi
2017-12-21 22:56   ` Roman Popov

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