From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29622 invoked by alias); 27 Mar 2012 19:19:27 -0000 Received: (qmail 29612 invoked by uid 22791); 27 Mar 2012 19:19:26 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,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; Tue, 27 Mar 2012 19:19:08 +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 q2RJJ8UB011844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 27 Mar 2012 15:19:08 -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 q2RJJ49C029987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 27 Mar 2012 15:19:06 -0400 Date: Tue, 27 Mar 2012 19:19:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Subject: [doc patch] Fix '.debug_gdb_scripts section' node name for info Message-ID: <20120327191903.GA23072@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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-03/txt/msg00921.txt.bz2 Hi Eli, if you try to jump into the link '.debug_gdb_scripts section' or even just 'n'/'p' navigate around that node you will find it does not work (at least not in info-4.13a-16.fc17.x86_64). OK this way or should there be some more name vs. node aliases in the refeerences? Thanks, Jan gdb/doc/ 2012-03-27 Jan Kratochvil * gdb.texinfo (Auto-loading): Rename node reference '.debug_gdb_scripts section' to 'dotdebug_gdb_scripts section'. Twice. (.debug_gdb_scripts section): Rename the node ... (dotdebug_gdb_scripts section): ... here. (Maintenance Commands): Also rename this node reference. --- ./gdb/doc/gdb.texinfo 22 Mar 2012 08:10:41 -0000 1.936 +++ ./gdb/doc/gdb.texinfo 27 Mar 2012 19:14:52 -0000 @@ -24717,8 +24717,8 @@ command, or because the inferior has loa @file{@var{objfile}-gdb.py} and @code{.debug_gdb_scripts} section. @menu -* objfile-gdb.py file:: The @file{@var{objfile}-gdb.py} file -* .debug_gdb_scripts section:: The @code{.debug_gdb_scripts} section +* 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 @@ -24744,7 +24744,7 @@ Print the list of all scripts that @valu Also printed is the list of scripts that were mentioned in the @code{.debug_gdb_scripts} section and were not found -(@pxref{.debug_gdb_scripts section}). +(@pxref{dotdebug_gdb_scripts section}). This is useful because their names are not printed when @value{GDBN} tries to load them and fails. There may be many of them, and printing an error message for each one is problematic. @@ -24795,7 +24795,7 @@ is the object file's real name, as descr So your @file{-gdb.py} file should be careful to avoid errors if it is evaluated more than once. -@node .debug_gdb_scripts section +@node dotdebug_gdb_scripts section @subsubsection The @code{.debug_gdb_scripts} section @cindex @code{.debug_gdb_scripts} section @@ -33475,7 +33475,7 @@ If @var{regexp} is specified, only print matching @var{regexp}. For each script, this command prints its name as specified in the objfile, and the full path if known. -@xref{.debug_gdb_scripts section}. +@xref{dotdebug_gdb_scripts section}. @kindex maint print statistics @cindex bcache statistics