aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb.1
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-10-15 21:45:04 +0000
committerDoug Evans <dje@google.com>2012-10-15 21:45:04 +0000
commit07540c156d053380cda0aca5b137a7f5ef0e0e24 (patch)
treef634bfea9180c211e4ece0fec40da95a08aab8ca /gdb/gdb.1
parenteab09350a37d669c13aaccf621c9e22b7776a3be (diff)
downloadgdb-07540c156d053380cda0aca5b137a7f5ef0e0e24.zip
gdb-07540c156d053380cda0aca5b137a7f5ef0e0e24.tar.gz
gdb-07540c156d053380cda0aca5b137a7f5ef0e0e24.tar.bz2
New option -nh: inhibit loading of ~/.gdbinit.
* NEWS: Mention -nh. * main.c (captured_main): Recognize and process -nh. (print_gdb_help): Mention -nh. * gdb.1: Mention -nh. Remove erroneous docs on -nx behavior. doc/ * gdb.texinfo (Mode Options): Document -nh. Elaborate on docs for -nx.
Diffstat (limited to 'gdb/gdb.1')
-rw-r--r--gdb/gdb.17
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/gdb.1 b/gdb/gdb.1
index 7a54f85..68a5e42 100644
--- a/gdb/gdb.1
+++ b/gdb/gdb.1
@@ -9,6 +9,7 @@ gdb \- The GNU Debugger
.TP
.B gdb
.RB "[\|" \-help "\|]"
+.RB "[\|" \-nh "\|]"
.RB "[\|" \-nx "\|]"
.RB "[\|" \-q "\|]"
.RB "[\|" \-batch "\|]"
@@ -283,14 +284,16 @@ Add \c
.PP
.TP
+.B \-nh
+Do not execute commands from ~/.gdbinit.
+
+.TP
.B \-nx
.TP
.B \-n
Do not execute commands from any `\|\c
.B .gdbinit\c
\&\|' initialization files.
-Normally, the commands in these files are executed after all the
-command options and arguments have been processed.
.TP