public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Bob Rossi <bob@brasko.net>
To: Jason Molenda <jason-swarelist@molenda.com>
Cc: Felix Lee <felix.1@canids.net>, gdb@sources.redhat.com
Subject: Re: GDB/MI snapshots between major release's
Date: Mon, 04 Oct 2004 21:12:00 -0000	[thread overview]
Message-ID: <20041004210726.GA8846@white> (raw)
In-Reply-To: <20041004122439.A4660@molenda.com>

On Mon, Oct 04, 2004 at 12:24:39PM -0700, Jason Molenda wrote:
> On Mon, Oct 04, 2004 at 11:12:01AM -0700, Felix Lee wrote:
> > 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. 
> 
> For what it's worth, Bob does have a point here.
> 
> When an incompatible change to MI is made, the version # is bumped.
> >From that point in time until the new MI version is "finalized",
> it's usually a free-for-all to add whatever changes you want into
> the new MI version.
> 
> I don't know if there's an official way of telling whether a
> particular MI version has been finalized -- personally, I think of
> the highest MI version as being the in-development one, which is
> subject to change.
> 
> I don't really agree with the problem Bob is pointing out,
> personally.  If I were writing a front end, I'd target the
> highest stable version I can rely on (these days that would
> be MI2), and use that.  Or if I didn't really need the changes
> in MI2, I'd target MI1.

Yes yes, of course I am going to try to target the highest protocol that
the current GDB supports. The first implementation I write will be MI2.
The whole point of this thread is basically to figure out from GDB what
the highest stable protocol of MI that it supports is, and use it. I
want to be able to determine this even if GDB is not an official
release, but just a CVS snapshot.

> I do see some legitimate problems that Bob is raising.
> 
>  1. I don't know of an official way to tell if an MI command set
>     has been finalized.  The policy I outlined above -- the highest
>     # MI command set is in development, until the version # is bumped --
>     is my own understanding, but it might be wrong.

I basically need from GDB all of the MI versions that it supports. This
list should not include a development version of the MI protocol, that
is currently being worked on. If you have a CVS snapshot you currently
have no way of knowing that the highest MI protocol number is a
development version, and not an official release.

>  2. There isn't any way for a front end developer to tell exactly
>     what the MI differences are without looking at the source.  I
>     know old gdb releases' documentation should make this clear,
>     but I'd be surprised if it's really clear enough to write an
>     implementation from.

This is true, I would already have a hard time write an MI protocol
implementation. I really think at least having the differences from the
last protocol would be a big help. At least that way, I could start with
MI3, and then when MI4 comes around, I could see a list of
incompatibilites. The real answer to me would be to have a list of all
the MI protocols documented in every release. Especially since they are
backwards compatible, and GDB still supports them. Maybe things like
have the MI commands list what version of MI they appeared in.

>  3. Is there a guarantee that old MI interfaces will be supported?
>     Or will we wake up to find gdb 6.3 has deprecated, e.g. MI1, and
>     scheduled it for purging?

This is what I need to know.

Thanks,
Bob Rossi

  reply	other threads:[~2004-10-04 21:07 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <62E49A52-1639-11D9-8F59-000A9569836A@canids.net>
2004-10-04 19:54 ` Jason Molenda
2004-10-04 21:12   ` Bob Rossi [this message]
2004-10-03 17:01 Bob Rossi
2004-10-04  5:04 ` Eli Zaretskii
2004-10-04 14:59   ` Bob Rossi
2004-10-04 15:49     ` Mark Kettenis
2004-10-04 16:04       ` Bob Rossi
2004-10-05 10:57         ` Eli Zaretskii
2004-10-05 14:18           ` Daniel Jacobowitz
2004-10-06  1:40             ` Bob Rossi
2004-10-06 11:14             ` Eli Zaretskii
2004-10-06 11:39               ` Bob Rossi
2004-10-06 13:19                 ` Eli Zaretskii
2004-10-06 16:55                   ` Bob Rossi
2004-10-06 17:00                     ` Paul Koning
2004-10-06 17:02                       ` Bob Rossi
     [not found] ` <bob@brasko.net>
2004-10-03 18:36   ` Felix Lee
2004-10-03 18:40     ` Bob Rossi
2004-10-03 18:42       ` Daniel Jacobowitz
2004-10-03 19:35         ` Bob Rossi
2004-10-03 19:39   ` Felix Lee
2004-10-03 20:19     ` Bob Rossi
2004-10-04  5:00   ` Felix Lee
2004-10-04 15:34   ` Felix Lee
2004-10-04 15:58     ` Bob Rossi
2004-10-04 16:48   ` Felix Lee
2004-10-04 17:37     ` Bob Rossi
2004-10-04 18:31   ` Felix Lee
2004-10-04 19:00     ` Bob Rossi
2004-10-04 21:07   ` Felix Lee
2004-10-04 21:27     ` Daniel Jacobowitz
2004-10-04 22:14     ` Bob Rossi
2004-10-05  9:03       ` Fabian Cenedese
2004-10-05  9:18         ` Eli Zaretskii
2004-10-05 13:37           ` Bob Rossi
2004-10-06 17:14   ` Felix Lee
2004-10-06 17:21     ` Daniel Jacobowitz
     [not found]       ` <drow@false.org>
2004-10-06 17:58         ` Felix Lee
2004-10-06 18:41   ` Felix Lee
2004-10-06 18:50     ` Bob Rossi

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=20041004210726.GA8846@white \
    --to=bob@brasko.net \
    --cc=felix.1@canids.net \
    --cc=gdb@sources.redhat.com \
    --cc=jason-swarelist@molenda.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).