aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-04-12 20:45:31 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-04-12 20:45:31 +0000
commit2c91021cac236dfc9739feba014a6ecb959d604f (patch)
tree09eb61387237179a094bce23628c922aa8706616 /gdb/doc
parentfc4c25bf774f3712223e8e5172528827ca7e42b7 (diff)
downloadgdb-2c91021cac236dfc9739feba014a6ecb959d604f.zip
gdb-2c91021cac236dfc9739feba014a6ecb959d604f.tar.gz
gdb-2c91021cac236dfc9739feba014a6ecb959d604f.tar.bz2
gdb/doc/
* gdb.texinfo (Auto-loading safe path): Add quick -iex using command line below the sample output.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo8
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 186e3d7..faa0d50 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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'.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index fa37b82..01e20d6 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