From: Jim Kingdon Date: Wed, 27 Oct 1993 16:20:51 +0000 (+0000) Subject: * gdb.texinfo (Command Files): Explain order of init file reading. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64a0145050e26393b873c16d911ca0ada7417da3;p=binutils-gdb.git * gdb.texinfo (Command Files): Explain order of init file reading. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index b34ea2bbbab..a9b78095c83 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,7 @@ Wed Oct 27 00:25:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * gdb.texinfo (Command Files): Explain order of init file reading. + * remote.texi (Bootstrapping): Talk about getting the serial driver to deal with ^C sent by gdb to stop the remote system. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index a2f293deb2a..cbdb8823623 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -7507,11 +7507,14 @@ it would from the terminal. @cindex init file @cindex @file{@value{GDBINIT}} When you start @value{GDBN}, it automatically executes commands from its -@dfn{init files}. These are files named @file{@value{GDBINIT}}. @value{GDBN} reads -the init file (if any) in your home directory and then the init file -(if any) in the current working directory. (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{@value{GDBINIT}}. +@value{GDBN} reads the init file (if any) in your home directory, 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}. @ifset GENERIC @cindex init file name