Found by Marc Khouzam.
gdb/doc/ChangeLog:
* gdb.texinfo (Specifying Source Directories): Fix
substitute-path example.
+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.
@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.