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 now a formal requirement of the GDB group

I am not a particular representative of GDB or its formal decisions. I
am mostly in the sidelines of GDB development, though I happen to have
some limited commit access. Please do not mistake my remarks, mostly
informed just by watching this list, as representing the official
decisions of some body to which I do not belong.

> The whole reason an MI grammar was invented was so that there were no
> "utterly minimal, unintelligent parser" nonsense going on in front ends.

Well, if you want to interrogate GDB for what versions it has
avaliable (as in your suggestion for a command line option), you have
to do that somewhere, and that will still take some parsing. Would it
make you happy if the mechanism for doing that was declared, formally,
not to be part of MI and its grammar, but just a suspiciously
similar-looking interactive command?

        - Nathan


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