GDB/MI snapshots between major release's

Felix Lee felix.1@canids.net
Mon Oct 4 18:31:00 GMT 2004


Bob Rossi <bob@brasko.net>:
> With the information I have now, here is the problem. A snapshot of GDB
> will say that it is at MI4, although, it is really at some
> developmental version.

does that ever happen?  if gdb says it supports MI4 but it
doesn't really, then it's lying, and that's a bug.  I think it's
unreasonable to expect a front-end to have workarounds for every
gdb bug.  the best answer is often 'get a gdb without the bug'.
it might be reasonable to have workarounds for bugs in gdb
versions that are widely deployed, and that can be handled on a
case-by-case basis.

I don't have any objection to an --mi-protocols switch, but it
seems to me that it isn't really needed by front-ends.  one
simple strategy is to just try each mi version you know until you
find one that works.
--



More information about the Gdb mailing list