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: gdb python and 'complete'


>>>>> "Jeroen" == Jeroen Dobbelaere <jeroen.dobbelaere@gmail.com> writes:

Jeroen> Now, the 'complete' command is indeed retrieving all the member
Jeroen> functions, but it will output them in the terminal in stead of feeding
Jeroen> it back to 'member_list'.

Jeroen> Is there a way to redirect the output, so that the python program can
Jeroen> investigate it ?

This is http://sourceware.org/bugzilla/show_bug.cgi?id=10808
We'll implement this eventually, it is just that nobody has found the
time yet.

I've also been thinking recently that we should have a "gdb.execute_mi"
method, which could be used to call MI commands, but which would then
return the results as Python objects instead of strings.

Tom


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