This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit+7.6] [doc patch+7.6 rfc] auto-load setting: Make it even more user-acceptable


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]