diff options
author | Doug Evans <dje@google.com> | 2012-10-15 21:45:04 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-10-15 21:45:04 +0000 |
commit | 07540c156d053380cda0aca5b137a7f5ef0e0e24 (patch) | |
tree | f634bfea9180c211e4ece0fec40da95a08aab8ca /gdb/gdb.1 | |
parent | eab09350a37d669c13aaccf621c9e22b7776a3be (diff) | |
download | gdb-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.1 | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |