* gdb.texinfo (Environment): Mention pitfall with .cshrc.

This commit is contained in:
Jim Kingdon 1993-04-29 16:38:20 +00:00
parent c268b400ad
commit 562a18b21b
2 changed files with 11 additions and 0 deletions

View File

@ -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):

View File

@ -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