From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17988 invoked by alias); 22 May 2007 02:31:31 -0000 Received: (qmail 17893 invoked by uid 22791); 22 May 2007 02:31:28 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 22 May 2007 02:31:27 +0000 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id E7A784B267; Mon, 21 May 2007 21:31:25 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id BF4564B262; Mon, 21 May 2007 21:31:25 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HqK9l-000542-6u; Mon, 21 May 2007 22:31:25 -0400 Date: Tue, 22 May 2007 02:31:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Ross Morley , Maxim Grigoriev , gdb@sourceware.org, Marc Gauthier , Pete MacLiesh Subject: Re: Understanding GDB frames Message-ID: <20070522023125.GB19198@caradoc.them.org> Mail-Followup-To: Nick Roberts , Ross Morley , Maxim Grigoriev , gdb@sourceware.org, Marc Gauthier , Pete MacLiesh References: <46521C04.7040405@hq.tensilica.com> <46522B10.6090008@tensilica.com> <18002.20463.147887.664973@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18002.20463.147887.664973@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.15 (2007-04-09) 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/msg00102.txt.bz2 On Tue, May 22, 2007 at 02:05:35PM +1200, Nick Roberts wrote: > 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. There's a different sort of scope that does make sense - a varobj might come in and out of lexical scope while its frame is live, due to optimization. But once the frame has gone we should recreate the varobjs, or else we should associate them with the function instead of the frame. -- Daniel Jacobowitz CodeSourcery