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: python and gdbmi


>>>>> "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


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