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

> On Sun, 25 Aug 2002, Andrew Cagney wrote:
> 
> 
>> Ok.
> 
> 
> Committed.


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

>> Any thoughts on how selected-thread events will be handled?  They also 
>> change the selected-fraome.
> 
> 
> I think that like many events, selected-thread change events imply that a 
> whole bunch of things have changed, too. For example, a target-stop event 
> (which we don't really issue as an event like the rest, but it is really 
> just an event), automatically implies that the selected frame, thread, and 
> other things have changed, yet we do not issue events for all of these. I 
> believe that the selected-thread event is the same.

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 :-(

> In any case, I'm sure that we've done things wrong. In fact, I'd be 
> willing to bet that we have. But one small step forward is better than 
> none. We can always address issues as they appear, which is one of the 
> nice things about the event mechanisms: GDB itself doesn't use them! They 
> are UI-specific and quite isolated. :-)

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


Andrew



  reply	other threads:[~2002-08-26 19:55 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 [this message]
2002-08-26 13:13       ` Keith Seitz

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=3D6A87B9.70607@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=keiths@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