diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2015-09-22 16:41:08 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2015-09-22 16:53:07 -0400 |
commit | c58b006be334ee40a9df0e9a2c4ff7be470735a8 (patch) | |
tree | 17d0535188909ed9971eca2075fc55586cfec714 /gdb/doc | |
parent | 0a6b6047cfd01e229234b747c7694e545b9aefb3 (diff) | |
download | gdb-c58b006be334ee40a9df0e9a2c4ff7be470735a8.zip gdb-c58b006be334ee40a9df0e9a2c4ff7be470735a8.tar.gz gdb-c58b006be334ee40a9df0e9a2c4ff7be470735a8.tar.bz2 |
doc: Fix substitute-path example
Found by Marc Khouzam.
gdb/doc/ChangeLog:
* gdb.texinfo (Specifying Source Directories): Fix
substitute-path example.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 9164b89..dc9bc88 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2015-09-22 Simon Marchi <simon.marchi@ericsson.com> + + * gdb.texinfo (Specifying Source Directories): Fix + substitute-path example. + 2015-09-18 Markus Metzger <markus.t.metzger@intel.com> * gdb.texinfo (All-Stop Mode): Describe new scheduler-locking mode. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 0687039..57e47b8 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -7983,11 +7983,11 @@ For example, if the file @file{/foo/bar/baz.c} was moved to @file{/mnt/cross/baz.c}, then the command @smallexample -(@value{GDBP}) set substitute-path /usr/src /mnt/cross +(@value{GDBP}) set substitute-path /foo/bar /mnt/cross @end smallexample @noindent -will tell @value{GDBN} to replace @samp{/usr/src} with +will tell @value{GDBN} to replace @samp{/foo/bar} with @samp{/mnt/cross}, which will allow @value{GDBN} to find the file @file{baz.c} even though it was moved. |