This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: python and gdbmi
- From: Tom Tromey <tromey at redhat dot com>
- To: jacques klein <jacques dot klein at dalim dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 13 Jun 2011 13:26:10 -0600
- Subject: Re: python and gdbmi
- References: <4DF65C22.7020106@dalim.com>
>>>>> "Jacques" == jacques klein <jacques.klein@dalim.com> writes:
Jacques> Using gdb-7.3.50 (20110607).
Jacques> Maybe a bug, it seems that the python expr
Jacques> gdb.execute('interpreter-exec mi -file-list-exec-source-files',
Jacques> to_string=True)
Jacques> returns an empty string and the command result goes to stdout
Jacques> ( to_string has some effect, but not the expected one) or did I miss
Jacques> something ?
I think it is a bug.
Please file it in bugzilla.
Jacques> But maybe there is a python gdb command or class to get the same info ?
Not yet.
Tom