From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7051 invoked by alias); 10 Dec 2012 16:27:07 -0000 Received: (qmail 6981 invoked by uid 22791); 10 Dec 2012 16:27:05 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.151) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Dec 2012 16:27:00 +0000 Received: from md14.u-strasbg.fr (md14.u-strasbg.fr [130.79.200.249]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qBAGQv9e098504 ; Mon, 10 Dec 2012 17:26:58 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms14.u-strasbg.fr [130.79.204.114]) by md14.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qBAGQvk6025664 ; Mon, 10 Dec 2012 17:26:57 +0100 Received: from E6510Muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qBAGQvI6006042 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Mon, 10 Dec 2012 17:26:57 +0100 (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Jerome Guitton'" Cc: References: <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> <20121210161831.GH15147@adacore.com> In-Reply-To: <20121210161831.GH15147@adacore.com> Subject: RE: [RFA/mingw32] environment variables are case-insensitive on win32 Date: Mon, 10 Dec 2012 16:27:00 -0000 Message-ID: <000001cdd6f3$2d12b490$87381db0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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/msg00252.txt.bz2 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de 'Jerome Guitton' > Envoy=E9=A0: lundi 10 d=E9cembre 2012 17:19 > =C0=A0: Pierre Muller > Cc=A0: gdb-patches@sourceware.org > Objet=A0: Re: [RFA/mingw32] environment variables are case-insensitive on > win32 >=20 > Pierre Muller (pierre.muller@ics-cnrs.unistra.fr): >=20 > > I am not sure, but I have the impression that the case_preserving > > environment of Windows OS is more a shell issue than an OS issue. >=20 > I don't think so, because I see the same problem by using "set env" > from GDB. But it does not matter much. I am now convinced that my > setup is to blame. So I'm happy to withdraw the Cygwin-specific part > of my patch. But my email was not about the cygwin part, it was really about the mingw executable: Currently, you can set several separate environment variables having the same upeercase'd name, which can be passed correctly to the debuggee. But after your patch, this will not be possible anymore, and I don't think that adding restrictions to GDB is something I like. Note that this is independent of the issue to know whether msvcrt dll allows this also or not... I would at least want to be able to accept and keep separate variables with the same uppercase'd name with some option, something like set windows case-sensitive-environment I don't care if the default is to merge them, but I really want to preserve a possibility that might be useful for specific executables... Pierre Muller