diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-29 16:38:20 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-29 16:38:20 +0000 |
commit | 562a18b21b5dfd968de11fbe5d522aa77e3dc2ef (patch) | |
tree | 5cc545eef73d09f10e77fbaabf75052e57d6d209 /gdb | |
parent | c268b400adfe223736224b70df8b9bec38f3aafb (diff) | |
download | gdb-562a18b21b5dfd968de11fbe5d522aa77e3dc2ef.zip gdb-562a18b21b5dfd968de11fbe5d522aa77e3dc2ef.tar.gz gdb-562a18b21b5dfd968de11fbe5d522aa77e3dc2ef.tar.bz2 |
* gdb.texinfo (Environment): Mention pitfall with .cshrc.
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 |