From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6717 invoked by alias); 10 Dec 2012 16:26:58 -0000 Received: (qmail 6691 invoked by uid 22791); 10 Dec 2012 16:26:56 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Dec 2012 16:26:43 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MET00800PM9Y900@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Mon, 10 Dec 2012 18:26:26 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MET0088VPNZ0VI0@a-mtaout20.012.net.il>; Mon, 10 Dec 2012 18:26:24 +0200 (IST) Date: Mon, 10 Dec 2012 16:26:00 -0000 From: Eli Zaretskii Subject: Re: [RFA/mingw32] environment variables are case-insensitive on win32 In-reply-to: <002401cdd6f0$c0b317b0$42194710$%muller@ics-cnrs.unistra.fr> To: Pierre Muller Cc: guitton@adacore.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <834njtc1qw.fsf@gnu.org> References: <83y5hjt8ll.fsf@gnu.org> <20121130153401.GH2768@adacore.com> <83wqx3t6r9.fsf@gnu.org> <20121130162852.GD32262@adacore.com> <50B902D0.6060809@redhat.com> <20121203113147.GB12055@adacore.com> <20121209235344.GA12152@ednor.casa.cgf.cx> <20121210105115.GB15147@adacore.com> <20121210110128.GA12570@calimero.vinschen.de> <20121210134935.GL31477@adacore.com> <20121210153510.GB17188@adacore.com> <002401cdd6f0$c0b317b0$42194710$%muller@ics-cnrs.unistra.fr> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-12/txt/msg00251.txt.bz2 > From: "Pierre Muller" > Cc: > Date: Mon, 10 Dec 2012 17:09:37 +0100 > > (gdb) set Test1=Mixed > No symbol "Test1" in current context. > (gdb) set env Test1=Mixed > (gdb) set env test1=lower > (gdb) set env TEST1=UPPER > (gdb) set prompt top> > top> r > Starting program: e:\pas\fpc-2.6.0\bin\i386-Win32\gdbpurepython.exe > ... Some output suppressed > (gdb) [New Thread 5920.0xb04] > [New Thread 5920.0x1588] > show env > ALLUSERSPROFILE=C:\ProgramData > ... More output suppressed > PROMPT=$P$G > PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ > PUBLIC=C:\Users\Public > RoxioCentral=C:\Program Files (x86)\Common Files\Roxio Shared\10.0\Roxio > Central36\ > SESSIONNAME=Console > SystemDrive=C: > SystemRoot=C:\Windows > TEMP=C:\Users\Pierre\AppData\Local\Temp > test1=lower > Test1=Mixed > TEST1=UPPER > ... More output suppressed You _are_ aware that "show env" is a GDB command, right? What you need to do is run some Windows program after pushing these variables into the environment, and then see what that problem gets as environment.