From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gateway20.websitewelcome.com (gateway20.websitewelcome.com [192.185.44.20]) by sourceware.org (Postfix) with ESMTPS id 8A8CB3AA8404 for ; Fri, 13 Mar 2020 17:57:45 +0000 (GMT) Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 56595400D3760 for ; Fri, 13 Mar 2020 11:42:35 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id CoZ6jhjVsSl8qCoZ7jHxIe; Fri, 13 Mar 2020 12:57:45 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cZouef5t+kDibc6jdJRWDd/uyxdPT09WhNUi+KDYDn4=; b=xu80+gur+GVLi/SOIMV/9MBzje ZY5dt0+t2WggVaMdyk6OzmBGj3hqVtfFbV2vAfJIVCJrZBPg0T1w/a0kFBjjzjCczDrw/xf7jTVzW 0fWA6Rwl27IUpE+OOhjq9AxTr; Received: from 184-96-250-69.hlrn.qwest.net ([184.96.250.69]:37594 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1jCoZ6-001F0S-Nl; Fri, 13 Mar 2020 11:57:44 -0600 From: Tom Tromey To: Simon Marchi Cc: Eli Zaretskii , Simon Marchi , gdb-patches@sourceware.org Subject: Re: [PATCH] testsuite: use cygpath to convert from Unix to Windows paths References: <20200311183212.28601-1-simon.marchi@efficios.com> <835zfaaelk.fsf@gnu.org> <88902aeb-5643-073b-a2de-f9a051bae6d8@simark.ca> X-Attribution: Tom Date: Fri, 13 Mar 2020 11:57:43 -0600 In-Reply-To: <88902aeb-5643-073b-a2de-f9a051bae6d8@simark.ca> (Simon Marchi's message of "Wed, 11 Mar 2020 15:26:11 -0400") Message-ID: <87imj8dtns.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 184.96.250.69 X-Source-L: No X-Exim-ID: 1jCoZ6-001F0S-Nl X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 184-96-250-69.hlrn.qwest.net (murgatroyd) [184.96.250.69]:37594 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Spam-Status: No, score=0.8 required=5.0 tests=DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NEUTRAL autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2020 17:57:46 -0000 >> Right, using "pwd -W" was exactly what I wanted to propose for this >> purpose. Simon> Ok thanks, I have pushed this version of the patch. Today I tried something a little weird -- I did a mingw build on Linux and then tried to run the gdb.server test cases. Linux can run mingw executables via wine... However this fails with: ERROR: tcl error sourcing /home/tromey/gdb/build-mingw/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.server/wrapper.exp. ERROR: sh: line 0: pwd: -W: invalid option pwd: usage: pwd [-LP] My site.exp says: set host_triplet i686-w64-mingw32 set target_alias i686-w64-mingw32 set target_triplet i686-w64-mingw32 set build_triplet x86_64-pc-linux-gnu I guess maybe this is expected, I wonder if there's a clean way to fix the problem. Christian suggested maybe we could have a wine board file to work around it. Or maybe we could check build_triplet? I'm not sure if that would be incorrect in some case. Tom