Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Ingham <jingham@apple.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [patch rfa:doco rfc:NEWS] mi1 -> mi2; rm mi0
Date: Mon, 30 Sep 2002 17:48:00 -0000	[thread overview]
Message-ID: <8D22C792-D4D7-11D6-A585-000A277A8808@apple.com> (raw)
In-Reply-To: <1033404264.17743.ezmlm@sources.redhat.com>

Hi, all...

The changes from mi0 to mi1 were pretty trivial.  So clients (in my 
case Project Builder) can fairly easily accommodate the removal of the 
mi0 interpreter.  I am not suggesting that we reinstate that.

However, the mi2 is shaping up to be a pretty big change (among other 
things, command results are differently reported in toto, as well as 
some command results changing format.)  Converting PB from mi1 to mi2 
is going to be a lot of work.   And because of its nature, there is no 
a priori way to tell what all the clients are - and not all the clients 
will closely read the gdb-patches mailing list...

Because of this, I am a little nervous at the easy way we are talking 
about deleting older versions of the mi.  I think it is our 
responsibility to careful, and only release versions of the mi that we 
want to support, not the clients of the mi's responsibility to change 
their code every time we decide we are tired of supporting the test 
cases from one of the other versions we have previously promulgated...  
The mi loses much of its appeal if it means you are going to have to 
occasionally rework parts of your client that already work just fine, 
or suffer permanent fork-hood for your gdb.

I agree with Daniel that we should hold off on declaring a real mi2 
till we have something we are willing to support long term.   And for 
the mi to be useful, I think we need to stick to only putting out named 
versions that we are willing to support.

Jim

> On Mon, Sep 30, 2002 at 11:03:55AM -0400, Andrew Cagney wrote:
>>
>>>>>
>>>>> Are you planning to revert mi1 then?
>>>
>>>>
>>>> Que?
>>>
>>>
>>> "mi2" changes have been sneaking in.  Are you planning to revert 
>>> them -
>>> create an "mi1" which matches what mi1 actually was.
>>
>> It's a bit late for that.  Someone should audit the changes made so 
>> far
>> and identify which caused syntax changes and update accordingly.  
>> Fixes
>> could, perhaphs be pushed into 5.3 (but I don't have the time).
>>
>>> Otherwise, where is the line drawn to mark the interface version as
>>> final?  It seems to me that the default shouldn't be evolving, that
>>> -i=mi should default to a fixed point until the next version is
>>> running.
>>
>> I think a line is drawn when each release is made.  I'd expect an MI
>> client to explicitly specify -i=miN (where N was formally released)
>> rather than trust -i=mi.
>>
>> However, should the HEAD hold off on recognizing -i=mi2 until the next
>> branch is cut?  On the HEAD, -i=mi evolves by definition.  However,
>> -i=mi2 is evolving as well :-(
>
> That'd be best I think.  I think that -i=mi2 specifies a fixed standard
> and we don't have one yet; so how about -i=mi being different from
> -i=mi1, but not adding -i=mi2 until we're ready to fix the interface?
>
> -- 
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer
>
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Jim Ingham                                                           
jingham@apple.com
Developer Tools - gdb


       reply	other threads:[~2002-10-01  0:48 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1033404264.17743.ezmlm@sources.redhat.com>
2002-09-30 17:48 ` Jim Ingham [this message]
2002-10-01  9:29   ` Andrew Cagney
2002-10-01 10:34     ` Jim Ingham
2002-10-01 13:25       ` Andrew Cagney
2002-10-01 14:01         ` Jim Ingham
2002-10-01 15:10           ` Andrew Cagney
2002-10-01 15:46             ` Jim Ingham
2002-10-01 16:39               ` Keith Seitz
2002-10-01 17:45                 ` Jim Ingham
2002-10-02  7:58                   ` Keith Seitz
2002-10-02 10:49                     ` Jim Ingham
2002-10-25 14:48                       ` Andrew Cagney
2002-10-01 23:25                 ` Jason Molenda
2002-10-02 10:22                 ` Stan Shebs
     [not found] <1035593825.16489.ezmlm@sources.redhat.com>
2002-10-25 18:22 ` Jim Ingham
2002-09-29 11:14 Andrew Cagney
2002-09-29 12:55 ` Daniel Jacobowitz
2002-09-29 13:19   ` Andrew Cagney
2002-09-29 14:37     ` Daniel Jacobowitz
2002-09-29 14:46       ` Andrew Cagney
2002-09-29 21:55         ` Daniel Jacobowitz
2002-09-30  8:03           ` Andrew Cagney
2002-09-30  8:16             ` Daniel Jacobowitz
2002-09-30 15:06               ` Andrew Cagney
2002-09-30 15:36                 ` Daniel Jacobowitz
2002-09-29 22:01 ` Eli Zaretskii
2002-09-30 15:14   ` Andrew Cagney
2002-09-30 22:13     ` Eli Zaretskii
2002-10-01 14:26 ` Andrew Cagney

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=8D22C792-D4D7-11D6-A585-000A277A8808@apple.com \
    --to=jingham@apple.com \
    --cc=gdb-patches@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