From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12625 invoked by alias); 19 Jan 2008 08:27:42 -0000 Received: (qmail 12617 invoked by uid 22791); 19 Jan 2008 08:27:42 -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; Sat, 19 Jan 2008 08:27:07 +0000 Received: from kahikatea.snap.net.nz (219.61.255.123.dynamic.snap.net.nz [123.255.61.219]) by viper.snap.net.nz (Postfix) with ESMTP id 2D3A83DA1B5; Sat, 19 Jan 2008 21:27:04 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 0194B8FC6D; Sat, 19 Jan 2008 21:26:52 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18321.46156.286577.974080@kahikatea.snap.net.nz> Date: Sat, 19 Jan 2008 08:27:00 -0000 To: "Marc Khouzam" Cc: Subject: RE: -var-update using formatted value In-Reply-To: <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> <6D19CA8D71C89C43A057926FE0D4ADAA2DE09D@ecamlmw720.eamcs.ericsson.se> X-Mailer: VM 7.19 under Emacs 23.0.50.32 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/msg00189.txt.bz2 > 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 stops. If the user assigns a new value to a variable the frontend needs to update to this without waiting for program execution. > You say var-update should show changes when they affect the display, > independently 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. I think it needs to be used after every user command for the reason above. I guess this could be expensive for a remote target. > What is var-update really meant to do? It's meant to do whatever we find most convenient but I don't know when you would wish to display floats as hexadecimals, or why you would want to cache a value in multiple formats. -- Nick http://www.inet.net.nz/~nickrob