From 2c91021cac236dfc9739feba014a6ecb959d604f Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 12 Apr 2013 20:45:31 +0000 Subject: [PATCH] gdb/doc/ * gdb.texinfo (Auto-loading safe path): Add quick -iex using command line below the sample output. --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/gdb.texinfo | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 186e3d7d183..faa0d507f04 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-12 Eli Zaretskii * gdb.texinfo (Mode Options): Document '-configuration'. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index fa37b8212f0..01e20d6ace6 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -21838,6 +21838,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 -- 2.30.2