* 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> 2000-05-01 Eli Zaretskii <eliz@is.elta.co.il>
* annotate.texi: Remove "@syncodeindex fn cp", it causes grief in * 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{.gdbinit}
@cindex @file{gdb.ini} @cindex @file{gdb.ini}
When you start @value{GDBN}, it automatically executes commands from its When you start @value{GDBN}, it automatically executes commands from its
@dfn{init files}. These are files named @file{.gdbinit} on Unix, or @dfn{init files}. These are files named @file{.gdbinit} on Unix and
@file{gdb.ini} on DOS/Windows. @value{GDBN} reads the init file (if @file{gdb.ini} on DOS/Windows. During startup, @value{GDBN} does the
any) in your home directory@footnote{On DOS/Windows systems, the home following:
directory is the one pointed to by the @code{HOME} environment
variable.}, then processes command line options and operands, and then @enumerate
reads the init file (if any) in the current working directory. This is @item
so the init file in your home directory can set options (such as Reads the init file (if any) in your home directory@footnote{On
@code{set complaints}) which affect the processing of the command line DOS/Windows systems, the home directory is the one pointed to by the
options and operands. The init files are not executed if you use the @code{HOME} environment variable.}.
@samp{-nx} option; @pxref{Mode Options, ,Choosing modes}.
@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 @cindex init file name
On some configurations of @value{GDBN}, the init file is known by a On some configurations of @value{GDBN}, the init file is known by a