From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 596 invoked by alias); 18 Jan 2008 15:41:21 -0000 Received: (qmail 585 invoked by uid 22791); 18 Jan 2008 15:41:21 -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; Fri, 18 Jan 2008 15:41:02 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 67A7098009; Fri, 18 Jan 2008 15:41:00 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 5445A98005; Fri, 18 Jan 2008 15:41:00 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JFtL1-0005xi-Ho; Fri, 18 Jan 2008 10:40:59 -0500 Date: Fri, 18 Jan 2008 15:41:00 -0000 From: Daniel Jacobowitz To: Marc Khouzam Cc: gdb@sourceware.org Subject: Re: -var-update using formatted value Message-ID: <20080118154059.GA22643@caradoc.them.org> Mail-Followup-To: Marc Khouzam , gdb@sourceware.org References: <18320.559.863596.871051@kahikatea.snap.net.nz> <6D19CA8D71C89C43A057926FE0D4ADAA2DE096@ecamlmw720.eamcs.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA2DE096@ecamlmw720.eamcs.ericsson.se> User-Agent: Mutt/1.5.17 (2007-12-11) 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: 2008-01/txt/msg00170.txt.bz2 On Fri, Jan 18, 2008 at 10:28:04AM -0500, Marc Khouzam wrote: > However, and I'm sorry for not letting this go, but what is the point of > -var-update returning the list of changed variables, if it is so efficient > to go back to GDB to ask for values? var-update might as well return nothing > and the let the front-end ask for values again. > (which is what I'll have to do if I can't cache all formats) -var-update reads values from the target to check for changes. -var-update-expression and -var-set-format do not. If you do not -var-update nothing will ever appear to change. -- Daniel Jacobowitz CodeSourcery