This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: probing GDB for MI versions
- From: "Alain Magloire" <alain at qnx dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 6 Oct 2004 15:53:41 -0400 (EDT)
- Subject: Re: probing GDB for MI versions
>
> On Wed, Oct 06, 2004 at 03:09:58PM -0400, Andrew Cagney wrote:
> > If a current GDB were modified to list mi "versions" then it would only
> > print mi2, which is the version selected by -i=mi. If your front end
> > specifies -i=mi1 then you're on your own - it's not tested - it doesn't
> > work.
>
> WHAT?!? This is what I have been asking all along? It was the foundation
> to this conversation. Where were you to inform everyone of this?
>
But I think that was the folks been saying. If you choose a specific
version to start gdb in your front-end say, "-i=mi1" why do you care
later to know about "mi2" or "mix" ?
If you start with "-i=mi", it will be handy to know which mi level,
in this case the front-end can take appropriate action
or restart trying a known version "-i=mi1"
Am I missing something here ?
I'm curious to understand why you reject the others propositions as inadequate.
> Are you saying that old versions of MI are not supported by GDB? Only
> the last official release of the MI protocol is supported and that no
> other versions that it used to speak with are supported or tested?
>
how did you manage to come up with such conclusions ?
--
alain