From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5532 invoked by alias); 4 Feb 2008 14:17:22 -0000 Received: (qmail 5523 invoked by uid 22791); 4 Feb 2008 14:17:22 -0000 X-Spam-Check-By: sourceware.org Received: from imr2.ericy.com (HELO imr2.ericy.com) (198.24.6.3) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 04 Feb 2008 14:17:02 +0000 Received: from eusrcmw750.eamcs.ericsson.se (eusrcmw750.exu.ericsson.se [138.85.77.50]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id m14EGn4w017783; Mon, 4 Feb 2008 08:16:49 -0600 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw750.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 4 Feb 2008 08:16:49 -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: [Patch] -var-evaluate-expression NAME [FORMAT] Date: Mon, 04 Feb 2008 14:17:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA04290E83@ecamlmw720.eamcs.ericsson.se> In-Reply-To: From: "Marc Khouzam" To: "Eli Zaretskii" Cc: , , X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00069.txt.bz2 Thanks for taking the time to follow up. Once I built, I found a compile problem with the documentation that I changed! It was missing an @anchor for var-set-format Here is the latest part of the patch that is for the documentation only: ### Eclipse Workspace Patch 1.0 #P src Index: gdb/doc/gdb.texinfo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.466 diff -u -r1.466 gdb.texinfo --- gdb/doc/gdb.texinfo 31 Jan 2008 13:38:49 -0000 1.466 +++ gdb/doc/gdb.texinfo 4 Feb 2008 14:15:47 -0000 @@ -19919,6 +19919,7 @@ Sets the output format for the value of the object @var{name} to be @var{format-spec}. =20 +@anchor{-var-set-format}=20 The syntax for the @var{format-spec} is as follows: =20 @smallexample @@ -20095,12 +20096,16 @@ @subsubheading Synopsis =20 @smallexample - -var-evaluate-expression @var{name} + -var-evaluate-expression [-f @var{format-spec}] @var{name} @end smallexample =20 Evaluates the expression that is represented by the specified variable -object and returns its value as a string. The format of the -string can be changed using the @code{-var-set-format} command. +object and returns its value as a string. The format of the string +can be specified with the @samp{-f} option. The possible values of=20 +this option are the same as for @code{-var-set-format}=20 +(@pxref{-var-set-format}). If the @samp{-f} option is not specified, +the current display format will be used. The current display format=20 +can be changed using the @code{-var-set-format} command. =20 @smallexample value=3D@var{value} @@ -20153,7 +20158,7 @@ object names, all existing variable objects are updated, except for frozen ones (@pxref{-var-set-frozen}). The option @var{print-values} determines whether both names and values, or just -names are printed. The possible values of this options are the same +names are printed. The possible values of this option are the same as for @code{-var-list-children} (@pxref{-var-list-children}). It is recommended to use the @samp{--all-values} option, to reduce the number of MI commands needed on each program stop. -----Original Message----- From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-owner@sourceware.org]On Behalf Of Eli Zaretskii Sent: Sunday, February 03, 2008 3:00 PM To: Marc Khouzam Cc: drow@false.org; nickrob@snap.net.nz; gdb-patches@sourceware.org Subject: Re: [Patch] -var-evaluate-expression NAME [FORMAT] > Date: Sun, 3 Feb 2008 14:40:33 -0500 > From: "Marc Khouzam" > Cc: , , >=20 > > > I rebuilt (not the doc) and ran regression. > > ^^^^^^^^^^^ > > Why not? >=20 > Didn't know how... chdir to gdb/doc directory, and then type this: make info If the tree is not configure'd yet, you can do this: make -f Makefile.in srcdir=3D. info