Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] gdb-events.sh: selected-frame-level-changed event
Date: Mon, 26 Aug 2002 13:13:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0208261301310.1964-100000@valrhona.uglyboxes.com> (raw)
In-Reply-To: <3D6A87B9.70607@ges.redhat.com>

On Mon, 26 Aug 2002, Andrew Cagney wrote:

> BTW, like any MI change, documentation and a testcase are also needed.

It doesn't change MI. CVS head MI doesn't even use events. Right now, 
the only official user is Insight (which reminds me, I have yet to check 
in changes for Insight to deal with these new events!).

I have patches in the interpreter branch which will change MI to using 
gdb-events, and I have the corresponding documentation there, as 
well. Just waiting for review of interps.[ch] to get this all going.

> GDB doesn't issue a target-stop event because it isn't possible to go 
> back to GDB and ask it why it stopped.  The stop message is generated on 
> the fly --- known bug in current implementation :-(

Yeah, but it's close enough! :-)

> We need to be careful though.  Otherwize GDB will be locked into 
> supporting something broken for the next N years :-(

I think that we can be a little finnicky about this. While UIs written on 
top of MI may like it if we never change anything for a very long time, 
well, I don't think we need to feel that we have any obligation to carry 
around legacy code like this. We've certainly never heard from anyone but 
Apple (and I guess Mo is doing something with MI), and Apple is certainly 
capable of dealing with these changes.

:-) Besides people will get little sympathy from me. Just look at the 
history of how some of the most innocent gdb changes have completely 
broken Insight! :-)

Seriously, though, I applaud your chivalry on this subject, but interfaces 
develop and "libraries" change. We're no different than, eg. readline, and 
how often have we updated gdb to use the latest readline?

Keith


      reply	other threads:[~2002-08-26 20:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-22 11:49 Keith Seitz
2002-08-25 16:10 ` Andrew Cagney
2002-08-26 12:55   ` Keith Seitz
2002-08-26 13:09     ` Andrew Cagney
2002-08-26 13:13       ` Keith Seitz [this message]

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=Pine.LNX.4.44.0208261301310.1964-100000@valrhona.uglyboxes.com \
    --to=keiths@redhat.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