From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11283 invoked by alias); 19 Jan 2008 01:46:21 -0000 Received: (qmail 11275 invoked by uid 22791); 19 Jan 2008 01:46:21 -0000 X-Spam-Check-By: sourceware.org Received: from imr1.ericy.com (HELO imr1.ericy.com) (198.24.6.9) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 19 Jan 2008 01:45:56 +0000 Received: from eusrcmw751.eamcs.ericsson.se (eusrcmw751.exu.ericsson.se [138.85.77.51]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id m0J1jsYm007709 for ; Fri, 18 Jan 2008 19:45:54 -0600 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Fri, 18 Jan 2008 19:45:54 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: -var-update using formatted value Date: Sat, 19 Jan 2008 01:46:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA2DE09D@ecamlmw720.eamcs.ericsson.se> References: <6D19CA8D71C89C43A057926FE0D4ADAA04290E3C@ecamlmw720.eamcs.ericsson.se><18320.559.863596.871051@kahikatea.snap.net.nz><6D19CA8D71C89C43A057926FE0D4ADAA2DE096@ecamlmw720.eamcs.ericsson.se><18321.5512.90696.545727@kahikatea.snap.net.nz><6D19CA8D71C89C43A057926FE0D4ADAA2DE09C@ecamlmw720.eamcs.ericsson.se> <18321.17566.890207.913917@kahikatea.snap.net.nz> From: "Marc Khouzam" Cc: 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/msg00184.txt.bz2 Nick wrote: > "-var-update --all-values" returns the value in hex so currently I don't = think > you need it in the output of "-var-set-format".=20=20 Can I get a clarification on what var-update is -really- supposed to do? I say var-update should show changes when they occur on the target and that var-update should only be used once per varObject when a program s= tops. You say var-update should show changes when they affect the display, indepe= ndently of if they were caused by a content change in the target or a format change= in GDB. In that case, var-update is used multiple times without the program having = stepped. What is var-update really meant to do?