This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/doco] set/unset/show substitute-path documentation
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 28 Jul 2006 16:56:20 +0300
- Subject: Re: [RFA/doco] set/unset/show substitute-path documentation
- References: <20060728035218.GY1376@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 27 Jul 2006 20:52:18 -0700
> From: Joel Brobecker <brobecker@adacore.com>
>
> Hopefully, I captured that as clearly as possible in the new update.
> Let me know what you think.
>
> 2006-06-27 Joel Brobecker <brobecker@adacore.com>
>
> * gdb.texinfo (Source Path): Add documentation for new
> substitute-path commands.
Thanks, I have only a couple of minor comments:
> +For instance, the rule above substituting @file{/usr/src} into
> +@file{/mnt/cross} will be applied to @file{/usr/src/foo-1.0} but
> +not to @file{/usr/srcs/foo-2.0}. And because the substitution is
The difference between /usr/src and /usr/srcs is so minor that some
readers might have hard time spotting it. So maybe make this
/usr/source and /usr/sourceware.
> +For instance, if we had entered the following commands:
> +
> +@smallexample
> +(@value{GDBP}) set substitute-path /usr/src/include /mnt/include
> +(@value{GDBP}) set substitute-path /usr/src /mnt/src
> +@end smallexample
> +
> +@value{GDBN} would then rewrite @file{/usr/src/include/defs.h} into
> +@file{/mnt/include/defs.h} by using the first rule. However, it would
> +use the second rule to rewrite @file{/usr/src/lib/foo.c} into
> +@file{/mnt/src/lib/foo.c}.
You want @noindent before the last paragraph, to prevent its
indentation as a new paragraph.