From: Jim Kingdon Date: Thu, 29 Apr 1993 16:38:20 +0000 (+0000) Subject: * gdb.texinfo (Environment): Mention pitfall with .cshrc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=562a18b21b5dfd968de11fbe5d522aa77e3dc2ef;p=binutils-gdb.git * gdb.texinfo (Environment): Mention pitfall with .cshrc. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index b9aacf1d103..461a9790592 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +Thu Apr 29 09:36:25 1993 Jim Kingdon (kingdon@cygnus.com) + + * gdb.texinfo (Environment): Mention pitfall with .cshrc. + Tue Apr 27 14:02:57 1993 Jim Kingdon (kingdon@cygnus.com) * gdbint.texinfo (new node Debugging GDB, elsewhere): diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 00246f5c283..eaa2c6a5bce 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -1616,6 +1616,13 @@ program. This is different from @samp{set env @var{varname} =}; rather than assigning it an empty value. @end table +One thing to be aware of is that your program is run via the shell +indicated by your @code{SHELL} environment variable if it exists; or +@code{/bin/sh} if not. This means that if you change any environment +variables in a @file{.cshrc} or @file{.bashrc} file, the changes will +affect your program. You may wish to move setting of environment +variables to @file{.login} or @file{.profile}. + @node Working Directory @section Your program's working directory