This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug win32/10989] Debuggee doesn't see environment variables set with set environment
- From: "vsnijders at vodafonevast dot nl" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 27 Nov 2009 08:22:10 -0000
- Subject: [Bug win32/10989] Debuggee doesn't see environment variables set with set environment
- References: <20091119203013.10989.vsnijders@vodafonevast.nl>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From vsnijders at vodafonevast dot nl 2009-11-27 08:22 -------
This works correctly with gdb 6.3, that is distributed with the free pascal
compiler version 2.2.2:
C:\lazarus\bugs\gdbenv>c:\fpc\2.2.2\bin\i386-win32\gdb.exe gdbenvbug.exe
GNU gdb 6.3
Copyright 2004 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 certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(gdb) set environment TEST_GDB_ENV=Hi
(gdb) r
Starting program: C:\lazarus\bugs\gdbenv/gdbenvbug.exe
TEST_GDB_ENV=Hi
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10989
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.