From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1070 invoked by alias); 30 Nov 2012 15:41:24 -0000 Received: (qmail 954 invoked by uid 22791); 30 Nov 2012 15:41:23 -0000 X-SWARE-Spam-Status: No, hits=-7.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Nov 2012 15:41:14 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qAUFfCsP015568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 30 Nov 2012 10:41:13 -0500 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qAUFfBvB020569; Fri, 30 Nov 2012 10:41:12 -0500 Message-ID: <50B8D397.2080101@redhat.com> Date: Fri, 30 Nov 2012 15:41:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Jerome Guitton CC: gdb-patches@sourceware.org Subject: Re: [RFA/mingw32] environment variables are case-insensitive on win32 References: <1354282597-22691-1-git-send-email-guitton@adacore.com> <50B8C5E9.1060607@redhat.com> <20121130150333.GG2768@adacore.com> <20121130153831.GB32262@adacore.com> In-Reply-To: <20121130153831.GB32262@adacore.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/msg00939.txt.bz2 On 11/30/2012 03:38 PM, Jerome Guitton wrote: > 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... Indeed. We don't really support these with remote targets yet, so I'm okay with leaving it host-dependent in the mean time. -- Pedro Alves