[patch] testsuite: MI: racy results in async mode (PR testsuite/12649)

Tom Tromey tromey@redhat.com
Wed Nov 2 17:31:00 GMT 2011


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> Not that I'm planning to do this :-), but would an MI parser written
Doug> in C that could be exported to Tcl, Python, etc. be of sufficient use
Doug> beyond the testsuite to entice someone to write one?  One can load C
Doug> modules into Tcl, and I'm guessing(!) the glue to make it usable to
Doug> the testsuite would be minimal.

This approach would be fine by me.

There are already a few such libraries.  I found a couple written in C;
I haven't tried them.

cgdb has one internally
http://cgdb.git.sourceforge.net/git/gitweb.cgi?p=cgdb/cgdb;a=blob;f=lib/gdbmi/README;h=1863a50a52491833531e568e586f4bef5a7fb0a5;hb=HEAD

libmigdb
http://sourceforge.net/projects/libmigdb/

There's also this:

    www.tcl.tk/community/tcl2004/Tcl2003papers/dejong.pdf

But I couldn't find the code any more.

Tom



More information about the Gdb-patches mailing list