From: Jan Kratochvil Date: Fri, 12 Apr 2013 20:46:50 +0000 (+0000) Subject: gdb/doc/ X-Git-Tag: gdb_7_6-2013-04-26-release~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c79b2af327577261a45fa5e0c24baab4d534f757;p=thirdparty%2Fbinutils-gdb.git gdb/doc/ * gdb.texinfo (Auto-loading safe path): Add quick -iex using command line below the sample output. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index dfa6dd4335d..a41992c34be 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2013-04-12 Jan Kratochvil + Eli Zaretskii + + * gdb.texinfo (Auto-loading safe path): Add quick -iex using command + line below the sample output. + 2013-04-02 Pedro Alves * gdb.texinfo (Debugging Output): Document "set/show debug diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 193d97ac2c0..d4fec54e788 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -21880,6 +21880,14 @@ warning: File "/home/user/gdb/gdb-gdb.py" auto-loading has been 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