From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8560 invoked by alias); 2 Apr 2012 20:31:23 -0000 Received: (qmail 8551 invoked by uid 22791); 2 Apr 2012 20:31:21 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_BJ,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Apr 2012 20:31:02 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q32KV0i5027757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Apr 2012 16:31:00 -0400 Received: from host2.jankratochvil.net (ovpn-116-28.ams2.redhat.com [10.36.116.28]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q32KUtDj019617 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 2 Apr 2012 16:30:58 -0400 Date: Mon, 02 Apr 2012 20:31:00 -0000 From: Jan Kratochvil To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: [doc patch] objfile -> @var{objfile} [Re: [patch#2 3/6] set auto-load local-gdbinit warn-and-*] Message-ID: <20120402203055.GA26106@host2.jankratochvil.net> References: <20120329091258.GD25449@host2.jankratochvil.net> <83hax61rey.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83hax61rey.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2012-04/txt/msg00020.txt.bz2 On Fri, 30 Mar 2012 09:25:41 +0200, Eli Zaretskii wrote: > > +This feature is deprecated, please use @ref{objfile-gdb.rc file} instead; > > "objfile" should be in @var, and it should explain what is "objfile". But this means existing manual also needs this fix. info works fine with that leading @var. Thanks, Jan gdb/doc/ 2012-04-02 Jan Kratochvil * gdb.texinfo (Auto-loading): Update two references. (objfile-gdb.py file): Rename to ... (@var{objfile}-gdb.py file): ... here. --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -24714,7 +24714,7 @@ writable. When a new object file is read (for example, due to the @code{file} command, or because the inferior has loaded a shared library), @value{GDBN} will look for Python support scripts in several ways: -@file{@var{objfile}-gdb.py} (@pxref{objfile-gdb.py file}) +@file{@var{objfile}-gdb.py} (@pxref{@var{objfile}-gdb.py file}) and @code{.debug_gdb_scripts} section (@pxref{dotdebug_gdb_scripts section}). @@ -24764,12 +24764,12 @@ function (@pxref{Objfiles In Python}). This can be useful for registering objfile-specific pretty-printers. @menu -* objfile-gdb.py file:: The @file{@var{objfile}-gdb.py} file +* @var{objfile}-gdb.py file:: The @file{@var{objfile}-gdb.py} file * dotdebug_gdb_scripts section:: The @code{.debug_gdb_scripts} section * Which flavor to choose?:: @end menu -@node objfile-gdb.py file +@node @var{objfile}-gdb.py file @subsubsection The @file{@var{objfile}-gdb.py} file @cindex @file{@var{objfile}-gdb.py}