cygwin gdb does not pass along exported enviornment variables

2002-03-02 Thread Gill Bates
I am suprised to discover: WEASEL:> export Var1=1 WEASEL:> x Var1=[1] WEASEL:> gdb -nw x GNU gdb 5.0 (20010428-3) Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under ce

cygwin gdb does not pass along exported enviornment variables

2002-03-05 Thread Gill Bates
Does anyone know why the cygwin version of gdb doesn't pass exported variables to the program being debugged? I have a simple test case where the program can retrieve an environment variable via getenv(). The program works when NOT running with gdb. If I run the same executable with gdb, either wi

Re: cygwin gdb does not pass along exported enviornment variables

2002-03-06 Thread Gill Bates
[EMAIL PROTECTED] (Gill Bates) wrote in message news:<[EMAIL PROTECTED]>... > Does anyone know why the cygwin version of gdb doesn't pass exported > variables to the program being debugged? I have a simple test case > where the program can retrieve an environment variable