From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23223 invoked by alias); 12 May 2012 14:21:45 -0000 Received: (qmail 23214 invoked by uid 22791); 12 May 2012 14:21:43 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,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; Sat, 12 May 2012 14:21:27 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4CELPrg008316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 12 May 2012 10:21:25 -0400 Received: from host2.jankratochvil.net (ovpn-116-17.ams2.redhat.com [10.36.116.17]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q4CELE0m001610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 12 May 2012 10:21:22 -0400 Date: Sat, 12 May 2012 14:21:00 -0000 From: Jan Kratochvil To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: [commit] [doc patch] Use plural for global debug info dir(s) Message-ID: <20120512142113.GA31061@host2.jankratochvil.net> References: <20120512090227.GA20327@host2.jankratochvil.net> <83likxycav.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83likxycav.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-05/txt/msg00474.txt.bz2 On Sat, 12 May 2012 11:32:40 +0200, Eli Zaretskii wrote: > Thanks for catching this. In fact I have caused it by not updating the doc while updating the code. > OK with those changes. Changed and checked in. Thanks, Jan http://sourceware.org/ml/gdb-cvs/2012-05/msg00091.html --- src/gdb/doc/ChangeLog 2012/05/11 22:24:22 1.1315 +++ src/gdb/doc/ChangeLog 2012/05/12 14:20:30 1.1316 @@ -1,3 +1,9 @@ +2012-05-12 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo (Separate Debug Files): Use plural form for global + debugging information directory. + 2012-05-11 Stan Shebs Kwok Cheung Yeung --- src/gdb/doc/gdb.texinfo 2012/05/11 22:24:22 1.961 +++ src/gdb/doc/gdb.texinfo 2012/05/12 14:20:31 1.962 @@ -16287,7 +16287,7 @@ @cindex debugging information in separate files @cindex @file{.debug} subdirectories @cindex debugging information directory, global -@cindex global debugging information directory +@cindex global debugging information directories @cindex build ID, and separate debugging files @cindex @file{.build-id} directory @@ -16332,14 +16332,14 @@ @item For the ``debug link'' method, @value{GDBN} looks up the named file in the directory of the executable file, then in a subdirectory of that -directory named @file{.debug}, and finally under the global debug -directory, in a subdirectory whose name is identical to the leading +directory named @file{.debug}, and finally under each one of the global debug +directories, in a subdirectory whose name is identical to the leading directories of the executable's absolute file name. @item For the ``build ID'' method, @value{GDBN} looks in the -@file{.build-id} subdirectory of the global debug directory for a file -named @file{@var{nn}/@var{nnnnnnnn}.debug}, where @var{nn} are the +@file{.build-id} subdirectory of each one of the global debug directories for +a file named @file{@var{nn}/@var{nnnnnnnn}.debug}, where @var{nn} are the first 2 hex characters of the build ID bit string, and @var{nnnnnnnn} are the rest of the bit string. (Real build ID strings are 32 or more hex characters, not 10.) @@ -16348,7 +16348,7 @@ So, for example, suppose you ask @value{GDBN} to debug @file{/usr/bin/ls}, which has a debug link that specifies the file @file{ls.debug}, and a build ID whose value in hex is -@code{abcdef1234}. If the global debug directory is +@code{abcdef1234}. If the list of the global debug directories includes @file{/usr/lib/debug}, then @value{GDBN} will look for the following debug information files, in the indicated order: @@ -16363,8 +16363,8 @@ @file{/usr/lib/debug/usr/bin/ls.debug}. @end itemize -You can set the global debugging info directory's name, and view the -name @value{GDBN} is currently using. +You can set the global debugging info directories, and view the +list @value{GDBN} is currently using. @table @code