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, 01 Nov 2011 16:40:02 +0100, Doug Evans wrote:
> On Thu, Oct 27, 2011 at 3:15 AM, Jan Kratochvil <jan.kratochvil@redhat.com> wrote:
> > The fix is ugly but it cannot be done better before there is a generic MI
> > client parser deployed for the testsuite.
> 
> What does "generic MI client parser" mean in this context?

Something what have the regular MI clients (like Nemiver from what Dodji said
and I expect most/all the others).

That is a stateful parser which automatically stores away async responses,
something like XML parsers are but for MI.  Either callbacking GDB on found
elements or storing the elements and providing lookup API into them.

Keith said he wrote something like that in TCL but it never got accepted.
Unfortunately it needs to be in TCL to be compatible with the testsuite.


Thanks,
Jan


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