This is the mail archive of the gdb-patches@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: [patch] testsuite: MI: racy results in async mode (PR testsuite/12649)


On Tue, Nov 1, 2011 at 10:25 AM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Doug" == Doug Evans <dje@google.com> writes:
>
> Jan> The fix is ugly but it cannot be done better before there is a generic MI
> Jan> client parser deployed for the testsuite.
>
> Doug> What does "generic MI client parser" mean in this context?
>
> Right now MI parsing in the test suite is done in an ad hoc manner.
> E.g., see mi_create_breakpoint.
>
> It would be more robust if we had an MI parser in Tcl so that we could
> parse the output as clients do.
>
> As far as I know nobody is planning to actually do this though.

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


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