This is the mail archive of the gdb@sources.redhat.com 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: probing GDB for MI versions


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


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