From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11749 invoked by alias); 4 Apr 2008 12:08:08 -0000 Received: (qmail 11741 invoked by uid 22791); 4 Apr 2008 12:08:08 -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, 04 Apr 2008 12:07:38 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 35609983BE; Fri, 4 Apr 2008 12:07:36 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 021FE982C4; Fri, 4 Apr 2008 12:07:36 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1Jhkhj-0001n5-6l; Fri, 04 Apr 2008 08:07:35 -0400 Date: Fri, 04 Apr 2008 13:08:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Document fixed/floating variable objects and thread-id. Message-ID: <20080404120735.GA5549@caradoc.them.org> Mail-Followup-To: Vladimir Prus , gdb-patches@sources.redhat.com References: <200804041320.00361.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804041320.00361.vladimir@codesourcery.com> User-Agent: Mutt/1.5.17 (2007-12-11) 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-04/txt/msg00095.txt.bz2 On Fri, Apr 04, 2008 at 01:20:00PM +0400, Vladimir Prus wrote: > > This patch adds some more docs about variable objects. Even > though floating variable objects have know bugs, I think their > intended behaviour is sufficiently clear right now to document. > > - Volodya > > * gdb/doc/gdb.texinfo (gdb/mi Variable object): Document > fixed and floating variable objects, and clarify that > a variable object can also be found to a thread. Update > -var-create example. There's also this patch, if you want to grab any text from it: http://sourceware.org/ml/gdb-patches/2007-05/msg00397.html I noticed that he used "@@", which is probably correct; you had "@" and I think texinfo will take that as an operator. > -unique provided that one does not specify @var{name} on that format. > -The command fails if a duplicate name is found. > +unique provided that one does not explicitly specifies @var{name} of > +that format. The command fails if a duplicate name is found. > "specify" from the original text was correct; "on" was not, nice catch. > The frame under which the expression should be evaluated can be > specified by @var{frame-addr}. A @samp{*} indicates that the current > -frame should be used. > +frame should be used. A @samp{*} indicates that a floating variable > +object must be created. Two spaces. -- Daniel Jacobowitz CodeSourcery