This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] add selected-frame-level-changed events
- From: Keith Seitz <keiths at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 27 Aug 2002 14:23:08 -0700 (PDT)
- Subject: Re: [RFA] add selected-frame-level-changed events
On Tue, 27 Aug 2002, Andrew Cagney wrote:
> Why not put it in there anyway?
You mean add a notification in select_frame? Because UIs don't care when
GDB is temporarily switching frames for whatever reason. What matters is
when something happens to cause the current frame to be changed and cause
gdb and the MI client to get out of sync. As far as I know, this only
happens via the command line frame commands (up, down, frame). There might
be others, but I've never seen them.
> I think, not putting it in select_frame() is the part that needs the fixme.
Right, that's what I meant. Sorry if I was vague. Ideally, we would like
it in select_frame, but we cannot do that right now because the UI would
be informed of billions of frame changes per step, especially if varobj is
operating.
Keith