From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3843 invoked by alias); 16 Apr 2006 11:39:02 -0000 Received: (qmail 3835 invoked by uid 22791); 16 Apr 2006 11:39:02 -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; Sun, 16 Apr 2006 11:38:59 +0000 Received: from farnswood.snap.net.nz (p202-124-115-98.snap.net.nz [202.124.115.98]) by viper.snap.net.nz (Postfix) with ESMTP id 6A91C754666; Sun, 16 Apr 2006 23:38:56 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 500) id C92A062A99; Sun, 16 Apr 2006 12:38:47 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17474.11462.876311.964323@farnswood.snap.net.nz> Date: Sun, 16 Apr 2006 15:52:00 -0000 To: Daniel Jacobowitz Cc: Vladimir Prus , Jim Ingham , gdb@sources.redhat.com Subject: Re: -var-update and address changes In-Reply-To: <20060414131549.GC12955@nevyn.them.org> References: <1A00C3C1-BDF5-489E-A36A-A1E5C20E102A@apple.com> <20060414131549.GC12955@nevyn.them.org> X-Mailer: VM 7.19 under Emacs 22.0.50.35 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00216.txt.bz2 > > Can somebody suggest the right fix? So far, I think that the simplest > > approach is to make gdb print stack address of current frame, like is done > > on the Apple branch: > > > > 553^done,stack=[frame= > > {level="0",addr="0x00003db0",fp="0xbffff2c0",...... > > > > That way, frontend can deal with the issue of frame stacks themself, and > > -var-update will be only used when single-stepping inside a given frame. > > Will patches to implement this be welcome? > > I guess. It seems reasonable. ISTR that Totalview displays the fp address of each frame in the call stack. This seems natural and I wonder why "info stack" chooses to display the pc addresses. -- Nick http://www.inet.net.nz/~nickrob