From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7664 invoked by alias); 14 Apr 2006 18:39:07 -0000 Received: (qmail 7656 invoked by uid 22791); 14 Apr 2006 18:39:06 -0000 X-Spam-Check-By: sourceware.org Received: from smtp3-g19.free.fr (HELO smtp3-g19.free.fr) (212.27.42.29) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Apr 2006 18:39:05 +0000 Received: from [192.168.0.11] (pas38-3-82-229-199-15.fbx.proxad.net [82.229.199.15]) by smtp3-g19.free.fr (Postfix) with ESMTP id 027D25906; Fri, 14 Apr 2006 20:39:02 +0200 (CEST) Subject: Re: [RFC] Don't lose compilation directory in Dwarf2 line-tables From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Riss To: Eli Zaretskii Cc: Frederic RISS , gdb-patches@sourceware.org In-Reply-To: References: <1144927446.14807.561.camel@crx549.cro.st.com> <8f2776cb0604131049i69e9b20fv78e60c023f245e56@mail.gmail.com> <1144999942.14807.721.camel@crx549.cro.st.com> <1145015039.14807.767.camel@crx549.cro.st.com> <1145022137.14807.794.camel@crx549.cro.st.com> Content-Type: multipart/mixed; boundary="=-15S2IUvdkui4ZM52s23u" Date: Fri, 14 Apr 2006 18:39:00 -0000 Message-Id: <1145039942.5338.3.camel@funkylaptop> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00196.txt.bz2 --=-15S2IUvdkui4ZM52s23u Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-length: 542 Le vendredi 14 avril 2006 à 17:21 +0300, Eli Zaretskii a écrit : > > From: Frederic RISS > > Cc: gdb-patches@sourceware.org > > Date: Fri, 14 Apr 2006 15:42:17 +0200 > > > > > > +Reset the source path to its initial value. This requires confirmation. > > > > > > Please say ``default value'' instead of ``initial value'', and please > > > show that default value. > > > > Like in ``Reset the source path to its default value (@samp{$cdir:$cwd} > > on Unix systems).'' > > Yes. I checked in the attached patch. --=-15S2IUvdkui4ZM52s23u Content-Disposition: attachment; filename=doc.patch Content-Type: text/x-patch; name=doc.patch; charset=utf-8 Content-Transfer-Encoding: 7bit Content-length: 1527 Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.321 retrieving revision 1.322 diff -u -p -r1.321 -r1.322 --- gdb.texinfo 31 Mar 2006 19:47:11 -0000 1.321 +++ gdb.texinfo 14 Apr 2006 18:31:32 -0000 1.322 @@ -5005,8 +5005,7 @@ is recorded as @file{../lib/foo.c}, @val that---@file{/mnt/cross/foo.c}. Note that the executable search path is @emph{not} used to locate the -source files. Neither is the current working directory, unless it -happens to be in the source path. +source files. Whenever you reset or rearrange the source path, @value{GDBN} clears out any information it has cached about where source files are found and where @@ -5048,7 +5047,7 @@ session, while the latter is immediately directory at the time you add an entry to the source path. @item directory -Reset the source path to empty again. This requires confirmation. +Reset the source path to its default value (@samp{$cdir:$cwd} on Unix systems). This requires confirmation. @c RET-repeat for @code{directory} is explicitly disabled, but since @c repeating it would be a no-op we do not say that. (thanks to RMS) @@ -5064,7 +5063,7 @@ versions of source. You can correct the @enumerate @item -Use @code{directory} with no argument to reset the source path to empty. +Use @code{directory} with no argument to reset the source path to its default value. @item Use @code{directory} with suitable arguments to reinstall the --=-15S2IUvdkui4ZM52s23u--