Re: probing GDB for MI versions

Nathan J. Williams
2004-10-06T16:45:54Z

"'Bob Rossi'" <bob@brasko.net> writes:

> It is not possible to understand the output of the command no matter how
> simple it is. If there is no parse tree, then there is no way to
> understand the output from GDB.

You have constrained yourself to using a formal parser for absolutely
all interaction with GDB output. This constraint is unnecessary. The
suggestions in this thread are "start gdb, hand-check the result from
this particular minimal command, and *then* fire up the full-fledged,
grammar-generated parser, selecting appropriately for the version".

Perhaps you can explain why you feel this constraint to be necessary,
since that appears to be the real point of contention.

- Nathan