From bf0184bec9ef42a6420aecbf648b89ad7b51fb8d Mon Sep 17 00:00:00 2001 From: Nicholas Duffek Date: Mon, 1 May 2000 21:22:42 +0000 Subject: [PATCH] * gdb.texinfo (Command Files): Mention -x, use @enumerate for startup sequence, minor edits. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 34 ++++++++++++++++++++++++---------- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 4d55a3f86b2..0ca86117549 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2000-05-01 Nick Duffek + + * gdb.texinfo (Command Files): Mention -x, use @enumerate for + startup sequence, minor edits. + 2000-05-01 Eli Zaretskii * annotate.texi: Remove "@syncodeindex fn cp", it causes grief in diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 558545583ed..2f466260fce 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 -- 2.30.2