aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2000-05-01 21:22:42 +0000
committerNicholas Duffek <nsd@redhat.com>2000-05-01 21:22:42 +0000
commitbf0184bec9ef42a6420aecbf648b89ad7b51fb8d (patch)
tree2f4f54dcaf4a7884a8e8f488dc126fde16ca67eb /gdb
parent7fca9a7240955d970fd657dda09bad8cd8e660cc (diff)
downloadbinutils-bf0184bec9ef42a6420aecbf648b89ad7b51fb8d.zip
binutils-bf0184bec9ef42a6420aecbf648b89ad7b51fb8d.tar.gz
binutils-bf0184bec9ef42a6420aecbf648b89ad7b51fb8d.tar.bz2
* gdb.texinfo (Command Files): Mention -x, use @enumerate for
startup sequence, minor edits.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo34
2 files changed, 29 insertions, 10 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 4d55a3f..0ca8611 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-01 Nick Duffek <nsd@cygnus.com>
+
+ * gdb.texinfo (Command Files): Mention -x, use @enumerate for
+ startup sequence, minor edits.
+
2000-05-01 Eli Zaretskii <eliz@is.elta.co.il>
* annotate.texi: Remove "@syncodeindex fn cp", it causes grief in
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 5585455..2f46626 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -11902,16 +11902,30 @@ the last command, as it would from the terminal.
@cindex @file{.gdbinit}
@cindex @file{gdb.ini}
When you start @value{GDBN}, it automatically executes commands from its
-@dfn{init files}. These are files named @file{.gdbinit} on Unix, or
-@file{gdb.ini} on DOS/Windows. @value{GDBN} reads the init file (if
-any) in your home directory@footnote{On DOS/Windows systems, the home
-directory is the one pointed to by the @code{HOME} environment
-variable.}, 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}.
+@dfn{init files}. These are files named @file{.gdbinit} on Unix and
+@file{gdb.ini} on DOS/Windows. During startup, @value{GDBN} does the
+following:
+
+@enumerate
+@item
+Reads the init file (if any) in your home directory@footnote{On
+DOS/Windows systems, the home directory is the one pointed to by the
+@code{HOME} environment variable.}.
+
+@item
+Processes command line options and operands.
+
+@item
+Reads the init file (if any) in the current working directory.
+
+@item
+Reads command files specified by the @samp{-x} option.
+@end enumerate
+
+The init file in your home directory can set options (such as @samp{set
+complaints}) that affect subsequent processing of command line options
+and operands. Init files are not executed if you use the @samp{-nx}
+option (@pxref{Mode Options, ,Choosing modes}).
@cindex init file name
On some configurations of @value{GDBN}, the init file is known by a