aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-27 16:20:51 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-27 16:20:51 +0000
commit64a0145050e26393b873c16d911ca0ada7417da3 (patch)
treef952a549ffd2d3f2e7f6fe68e008d9106c9fad8e /gdb
parent90d8edfdf3a5bf29d008f30c9bd932df0bfa3e62 (diff)
downloadgdb-64a0145050e26393b873c16d911ca0ada7417da3.zip
gdb-64a0145050e26393b873c16d911ca0ada7417da3.tar.gz
gdb-64a0145050e26393b873c16d911ca0ada7417da3.tar.bz2
* gdb.texinfo (Command Files): Explain order of init file reading.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog2
-rw-r--r--gdb/doc/gdb.texinfo13
2 files changed, 10 insertions, 5 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index b34ea2b..a9b7809 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,7 @@
Wed Oct 27 00:25:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+ * gdb.texinfo (Command Files): Explain order of init file reading.
+
* remote.texi (Bootstrapping): Talk about getting the serial driver
to deal with ^C sent by gdb to stop the remote system.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index a2f293d..cbdb882 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -7507,11 +7507,14 @@ it would from the terminal.
@cindex init file
@cindex @file{@value{GDBINIT}}
When you start @value{GDBN}, it automatically executes commands from its
-@dfn{init files}. These are files named @file{@value{GDBINIT}}. @value{GDBN} reads
-the init file (if any) in your home directory and then the init file
-(if any) in the current working directory. (The init files are not
-executed if you use the @samp{-nx} option; @pxref{Mode Options,
-,Choosing modes}.)
+@dfn{init files}. These are files named @file{@value{GDBINIT}}.
+@value{GDBN} reads the init file (if any) in your home directory, then
+processes command line options and operands, and then reads the init
+file (if any) in the current working directory. This is so the init
+file in your home directory can set options (such as @code{set
+complaints} which affect the processing of the command line options and
+operands. The init files are not executed if you use the @samp{-nx}
+option; @pxref{Mode Options, ,Choosing modes}.
@ifset GENERIC
@cindex init file name