This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb python and 'complete'
- From: Tom Tromey <tromey at redhat dot com>
- To: Jeroen Dobbelaere <jeroen dot dobbelaere at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 24 Mar 2010 11:59:18 -0600
- Subject: Re: gdb python and 'complete'
- References: <325e93671003240824t3e940773ned358335b9fe1f40@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "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