probing GDB for MI versions

Nathan J. Williams nathanw@wasabisystems.com
Wed Oct 6 16:46:00 GMT 2004


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



More information about the Gdb mailing list