From: Nicholas Duffek Date: Mon, 1 May 2000 21:22:42 +0000 (+0000) Subject: * gdb.texinfo (Command Files): Mention -x, use @enumerate for X-Git-Tag: readline-pre-41-import~606 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf0184bec9ef42a6420aecbf648b89ad7b51fb8d;p=platform%2Fupstream%2Fbinutils.git * gdb.texinfo (Command Files): Mention -x, use @enumerate for startup sequence, minor edits. --- 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 + + * 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 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