From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5199 invoked by alias); 22 May 2007 02:51:16 -0000 Received: (qmail 5188 invoked by uid 22791); 22 May 2007 02:51:15 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 22 May 2007 02:51:13 +0000 Received: from kahikatea.snap.net.nz (52.60.255.123.dynamic.snap.net.nz [123.255.60.52]) by viper.snap.net.nz (Postfix) with ESMTP id CF6862F5461; Tue, 22 May 2007 14:49:45 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 51E208F92C; Tue, 22 May 2007 14:49:42 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18002.23109.871576.644682@kahikatea.snap.net.nz> Date: Tue, 22 May 2007 02:51:00 -0000 To: Daniel Jacobowitz Cc: Ross Morley , Maxim Grigoriev , gdb@sourceware.org, Marc Gauthier , Pete MacLiesh Subject: Re: Understanding GDB frames In-Reply-To: <20070522023125.GB19198@caradoc.them.org> References: <46521C04.7040405@hq.tensilica.com> <46522B10.6090008@tensilica.com> <18002.20463.147887.664973@kahikatea.snap.net.nz> <20070522023125.GB19198@caradoc.them.org> X-Mailer: VM 7.19 under Emacs 22.1.50.258 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00103.txt.bz2 > > As watchpoints? I don't think so. A closer analogy to variable objects > > is the "display" command. There, GDB allows expressions to come back into > > scope. > > I don't think that allowing varobjs to come back into scope this way > is really useful. I can't say how useful it is generally because Emacs 22 is still stuck in CVS. >From personal use, however, I've sometimes found watchpoints deleting themselves to be a nuisance. Sometimes I've got around by specifying an adress rather than a variable name. > ...But once the frame has gone we should recreate the > varobjs, or else we should associate them with the function instead of > the frame. Would this be straightforward to implement? Isn't there anything in their nature that makes this easier to do for watchpoints? -- Nick http://www.inet.net.nz/~nickrob