From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21507 invoked by alias); 30 Nov 2012 15:38:37 -0000 Received: (qmail 21410 invoked by uid 22791); 30 Nov 2012 15:38:35 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Nov 2012 15:38:28 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 0C55FCB20F0; Fri, 30 Nov 2012 16:38:32 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zp6yYEmSPDfr; Fri, 30 Nov 2012 16:38:31 +0100 (CET) Received: from chelles.act-europe.fr (chelles.act-europe.fr [10.10.0.160]) by mel.act-europe.fr (Postfix) with ESMTP id EF108CB20B7; Fri, 30 Nov 2012 16:38:31 +0100 (CET) Received: by chelles.act-europe.fr (Postfix, from userid 560) id E1EA31EA005A; Fri, 30 Nov 2012 16:38:31 +0100 (CET) Date: Fri, 30 Nov 2012 15:38:00 -0000 From: Jerome Guitton To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [RFA/mingw32] environment variables are case-insensitive on win32 Message-ID: <20121130153831.GB32262@adacore.com> References: <1354282597-22691-1-git-send-email-guitton@adacore.com> <50B8C5E9.1060607@redhat.com> <20121130150333.GG2768@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121130150333.GG2768@adacore.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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-11/txt/msg00938.txt.bz2 Jerome Guitton (guitton@adacore.com): > > BTW, this would be more correctly modeled as a target property, not > > host property. > > Hm, indeed. I'll add a new hook in gdbarch then. Hmm. In theory that would be true, but the problem is that as of today the environment seems to come from the host: in each inferior record, the environment field is initialized by make_environment, which gets it from the host. I cannot find any place where this would be updated by gdbarch. Actually, the semantics of the "path" command is not quite clear to me when host != target. In particular, you usually call it before creating the inferior...