* gdb.texinfo (Command Files): Mention -x, use @enumerate for

startup sequence, minor edits.
This commit is contained in:
Nicholas Duffek 2000-05-01 21:22:42 +00:00
parent 7fca9a7240
commit bf0184bec9
2 changed files with 29 additions and 10 deletions

View File

@ -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

View File

@ -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