This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit+7.6] [doc patch+7.6 rfc] auto-load setting: Make it even more user-acceptable
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 12 Apr 2013 22:48:07 +0200
- Subject: [commit+7.6] [doc patch+7.6 rfc] auto-load setting: Make it even more user-acceptable
- References: <20130412125046 dot GA2681 at host2 dot jankratochvil dot net> <83zjx399l2 dot fsf at gnu dot org>
On Fri, 12 Apr 2013 15:12:25 +0200, Eli Zaretskii wrote:
> 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
That looks better. Checked in:
http://sourceware.org/ml/gdb-cvs/2013-04/msg00123.html
and for 7.6:
http://sourceware.org/ml/gdb-cvs/2013-04/msg00124.html
Thanks,
Jan
http://sourceware.org/ml/gdb-cvs/2013-04/msg00123.html
--- src/gdb/doc/ChangeLog 2013/04/12 08:57:07 1.1442
+++ src/gdb/doc/ChangeLog 2013/04/12 20:45:31 1.1443
@@ -1,3 +1,9 @@
+2013-04-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Eli Zaretskii <eliz@gnu.org>
+
+ * gdb.texinfo (Auto-loading safe path): Add quick -iex using command
+ line below the sample output.
+
2013-04-12 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo (Mode Options): Document '-configuration'.
--- src/gdb/doc/gdb.texinfo 2013/04/12 08:57:07 1.1076
+++ src/gdb/doc/gdb.texinfo 2013/04/12 20:45:31 1.1077
@@ -21838,6 +21838,14 @@
to "$debugdir:$datadir/auto-load".
@end smallexample
+@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
+
The list of trusted directories is controlled by the following commands:
@table @code