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]

Re: 'info symbol' equivalent in python?


On 03/27/2012 03:10 AM, Hui Zhu wrote:
> For current gdb, you can get the output of "info symbol" and parse it.
>
> http://kgtp.googlecode.com/svn/trunk/add-ons/hotcode.py function
> get_line_from_sym is a example for it.
>
>

I'll try it, thanks.

-- 
error compiling committee.c: too many arguments to function


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