From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16251 invoked by alias); 10 Jun 2008 02:30:20 -0000 Received: (qmail 16240 invoked by uid 22791); 10 Jun 2008 02:30:19 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Jun 2008 02:29:48 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 47DAC98402; Tue, 10 Jun 2008 02:29:46 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 1B52898401; Tue, 10 Jun 2008 02:29:46 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1K5tcH-00079F-Ae; Mon, 09 Jun 2008 22:29:45 -0400 Date: Tue, 10 Jun 2008 02:54:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH:MI] Event notification Message-ID: <20080610022945.GA27459@caradoc.them.org> Mail-Followup-To: Nick Roberts , gdb-patches@sources.redhat.com References: <18439.56134.456709.118980@kahikatea.snap.net.nz> <20080501185728.GE22218@caradoc.them.org> <18509.56150.132277.869905@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18509.56150.132277.869905@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00186.txt.bz2 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