This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] gdb-events.sh: selected-frame-level-changed event
- From: Keith Seitz <keiths at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 26 Aug 2002 12:50:42 -0700 (PDT)
- Subject: Re: [RFA] gdb-events.sh: selected-frame-level-changed event
On Sun, 25 Aug 2002, Andrew Cagney wrote:
> Ok.
Committed.
> 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.
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. :-)
Keith