From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14065 invoked by alias); 21 Jan 2008 22:35:19 -0000 Received: (qmail 14054 invoked by uid 22791); 21 Jan 2008 22:35:18 -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; Mon, 21 Jan 2008 22:34:45 +0000 Received: from kahikatea.snap.net.nz (89.30.255.123.static.snap.net.nz [123.255.30.89]) by viper.snap.net.nz (Postfix) with ESMTP id 6713E3D9F34; Tue, 22 Jan 2008 11:34:38 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 37B058FC6D; Tue, 22 Jan 2008 11:34:37 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18325.7676.508099.156777@kahikatea.snap.net.nz> Date: Mon, 21 Jan 2008 22:35:00 -0000 To: "Marc Khouzam" Cc: Subject: RE: -var-update using formatted value In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA2DE0A0@ecamlmw720.eamcs.ericsson.se> References: <200801201303.29804.ghost@cs.msu.su> <18323.43998.22471.788933@kahikatea.snap.net.nz> <200801202327.30376.ghost@cs.msu.su> <6D19CA8D71C89C43A057926FE0D4ADAA2DE0A0@ecamlmw720.eamcs.ericsson.se> X-Mailer: VM 7.19 under Emacs 23.0.50.34 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/msg00220.txt.bz2 > > FWIW, I agree that the patch in > > http://sourceware.org/ml/gdb-patches/2006-05/msg00008.html > > is good, as it removes the need to do -var-evaluate-expression > > or -var-update after setting variable's format. > > This is great. However, instead of Vladimir's patch, can we instead only > use the natural format? A patch similar to what I suggested in: > http://sourceware.org/ml/gdb/2008-01/msg00072.html Maybe renaming the > print_value field to something more descriptive? Can you post a patch (to gdb-patches) so we can see exactly what you mean? -- Nick http://www.inet.net.nz/~nickrob