This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [doc patch+7.6 rfc] auto-load setting: Make it even more user-acceptable
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 12 Apr 2013 16:12:25 +0300
- Subject: Re: [doc patch+7.6 rfc] auto-load setting: Make it even more user-acceptable
- References: <20130412125046 dot GA2681 at host2 dot jankratochvil dot net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 12 Apr 2013 14:50:46 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> The manual page ia apparently rl;dr (too long, didn't read). While it is not
> too correct I would add there this part.
>
> OTOH that one user had a problem reading the manual does not require a change.
Such a short addition is a no-brainer, IMO, even if only one user
complained.
> warning: File "/home/user/gdb/gdb-gdb.py" auto-loading has been
> declined by your `auto-load safe-path' set
> to "$debugdir:$datadir/auto-load".
> +...
> +$ gdb -q -iex "set auto-load safe-path /home/user/gdb" ./gdb
> + - how to quickly get the script files loaded
> @end smallexample
I'd prefer a more explicit:
@end example
+
+@noindent
+To instruct @value{GDBN} to go ahead and use the init files anyway,
+invoke @value{GDBN} like this:
+
+@smallexample
+$ gdb -q -iex "set auto-load safe-path /home/user/gdb" ./gdb
+@end smallexample
Thanks.