From: "Alain Magloire" <alain@qnx.com>
To: cagney@gnu.org (Andrew Cagney)
Cc: alain@qnx.com (Alain Magloire), gdb@sources.redhat.com
Subject: Re: MI level command
Date: Wed, 25 Aug 2004 13:23:00 -0000 [thread overview]
Message-ID: <200408251323.JAA11515@smtp.ott.qnx.com> (raw)
In-Reply-To: <412BBB2D.7040108@gnu.org> from "Andrew Cagney" at Aug 24, 2004 06:03:25 PM
>
> > Yellow
> >
> >
> > Scenario: We want to know wich level of MI that we are currently working in.
> > This can allow to adjust what MI command to use and how to parse them.
> >
> > Problems: No such command in MI and no GDB variable that we can test via -gdb-show.
> > The version of gdb
> > gdb --version
> > show different things in different distributions, sometimes it is a number based on date
> > etc ...
> >
> > So would a patch implementing
> >
> > -gdb-mi-level
> > ^done,level=1
> >
> > be a good thing ?
>
> This needs to be resolved.
>
> I think its become clear that clients are choosing to support multiple
> debugger releases rather than certifying against a single debugger and
> mi version. This is contrary to the expectation that the clients would
> tightly couple their front end to a specific GDB and MI version, and
> consequently, when starting GDB, specify a specific MI version.
>
Yes, some embedded platforms are still using old versions and for whatever
reasons and can not move the latest/greatest. Frontends still need to cope
with this and detecting the version of MI will allow them to adjust.
> Given this, we need to change the way versioning is handled.
>
> - we can't create a situtation where GDB is required to retain existing
> [broken] behavior indefinitly
>
> - we can certainly look for ways that let the client use both old and
> newer GDB's - the clients then get to decide how much backward
> incompatibility they wish to retain without imposing the burdon on GDB.
>
> To that end:
>
> -> we should probably implement significant command output (and more
> importantly input) changes by adding a new command. A missing new
> command is easy to detect, just run it with no options.
>
> -> minor output changes (new field for instance) do not need a new command
>
> -> MI version changes tied to significant changes
>
100% agreement, here 8-).
Thanks.
next prev parent reply other threads:[~2004-08-25 13:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-08 23:33 Alain Magloire
2004-07-09 20:49 ` Jason Molenda
2004-07-10 17:18 ` Arnaud Charlet
2004-07-10 22:51 ` Bob Rossi
2004-07-12 17:51 ` Alain Magloire
2004-08-24 22:04 ` Andrew Cagney
2004-08-24 23:54 ` Bob Rossi
2004-08-25 13:23 ` Alain Magloire [this message]
2004-07-11 22:49 Nick Roberts
2004-07-12 21:14 ` Jason Molenda
[not found] <20040709012815.GA4464@white>
2004-07-12 17:38 ` Alain Magloire
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200408251323.JAA11515@smtp.ott.qnx.com \
--to=alain@qnx.com \
--cc=cagney@gnu.org \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox