diff options
author | Frederic Riss <frederic.riss@st.com> | 2006-04-14 18:31:32 +0000 |
---|---|---|
committer | Frederic Riss <frederic.riss@st.com> | 2006-04-14 18:31:32 +0000 |
commit | cd852561d00500299820918556b829ff016a6d8d (patch) | |
tree | 168e99cd352cd26a2f816de6a264af01fbc0c11b | |
parent | 530392d34b007026d07db2ced1fd2aadff5d44d5 (diff) | |
download | gdb-cd852561d00500299820918556b829ff016a6d8d.zip gdb-cd852561d00500299820918556b829ff016a6d8d.tar.gz gdb-cd852561d00500299820918556b829ff016a6d8d.tar.bz2 |
2006-04-14 Frederic Riss <frederic.riss@st.com>
* gdb.texinfo (Specifying source directories): Update the description
of the source file search to reflect the fact that the source path
always contains at least $cdir and $cwd.
-rw-r--r-- | gdb/doc/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 40c8020..72c085a 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2006-04-14 Frederic Riss <frederic.riss@st.com> + + * gdb.texinfo (Specifying source directories): Update the description + of the source file search to reflect the fact that the source path + always contains at least $cdir and $cwd. + 2006-03-31 Michael Snyder <msnyder@redhat.com> * gdb.texinfo: Update copyright dates. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 59445d0..760b2a7 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -5005,8 +5005,7 @@ is recorded as @file{../lib/foo.c}, @value{GDBN} would first try 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 expanded to the current 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 situation as follows: @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 |