diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index b9aacf1..461a979 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 00246f5..eaa2c6a 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 |