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
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
[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 via getenv().
> The prog
Hello,
Can you file a bug report explaining this? See
http://sources.redhat.com/gdb/bugs/
Andrew
> [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 debugge