This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH:MI] Event notification
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 9 Jun 2008 22:29:45 -0400
- Subject: Re: [PATCH:MI] Event notification
- References: <18439.56134.456709.118980@kahikatea.snap.net.nz> <20080501185728.GE22218@caradoc.them.org> <18509.56150.132277.869905@kahikatea.snap.net.nz>
On Tue, Jun 10, 2008 at 01:39:34PM +1200, Nick Roberts wrote:
> > ... I
> > think that the frame changed observer will fire too often;
> > select_frame is often used with cleanups to temporarily select another
> > frame.
>
> How about conditioning it so that it only fires when the target isn't running,
> e.g., with the up, down, frame, -stack-select-frame etc commands?
It's not about when the target is running. Consider updating varobjs;
for every varobj with an associated frame, we will select the frame
and it will pass through select_frame.
--
Daniel Jacobowitz
CodeSourcery