From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from re-prd-fep-041.btinternet.com (mailomta18-re.btinternet.com [213.120.69.111]) by sourceware.org (Postfix) with ESMTPS id E3577393FC3C for ; Sat, 14 Mar 2020 15:35:24 +0000 (GMT) Received: from re-prd-rgout-005.btmx-prd.synchronoss.net ([10.2.54.8]) by re-prd-fep-041.btinternet.com with ESMTP id <20200314153523.YHVU16007.re-prd-fep-041.btinternet.com@re-prd-rgout-005.btmx-prd.synchronoss.net>; Sat, 14 Mar 2020 15:35:23 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com X-Originating-IP: [86.141.128.2] X-OWM-Source-IP: 86.141.128.2 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedugedruddvledgkedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuffhomhgrihhnpehsohhurhgtvgifrghrvgdrohhrghenucfkphepkeeirddugedurdduvdekrddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdeingdpihhnvghtpeekiedrudeguddruddvkedrvddpmhgrihhlfhhrohhmpeeojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhequceuqfffjgepkeeukffvoffkoffgpdhrtghpthhtohepoehguggsqdhprghttghhvghssehsohhurhgtvgifrghrvgdrohhrgheqpdhrtghpthhtohepoehsihhmrghrkhesshhimhgrrhhkrdgtrgeq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.106] (86.141.128.2) by re-prd-rgout-005.btmx-prd.synchronoss.net (5.8.340) (authenticated as jonturney@btinternet.com) id 5E3A195F05DC06D4; Sat, 14 Mar 2020 15:35:23 +0000 Subject: Re: [PATCH] gdb: recognize 64 bits Windows executables as Cygwin osabi To: gdb-patches@sourceware.org References: <20200307041742.31158-1-simon.marchi@efficios.com> <83zhcsa8my.fsf@gnu.org> <4bd435cd-b06d-e0fc-70a9-9a8a18d73987@efficios.com> <835zfg9hz5.fsf@gnu.org> <85cd5fc2-8fa7-3612-b974-b3a3261bbb29@dronecode.org.uk> <83pndk9r5v.fsf@gnu.org> <97ad4d74-4c9b-8630-f573-ca6d476dfe21@simark.ca> Cc: Simon Marchi From: Jon Turney Message-ID: <099967c9-ee83-63f5-fa41-98ca5de1c7de@dronecode.org.uk> Date: Sat, 14 Mar 2020 15:35:23 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <97ad4d74-4c9b-8630-f573-ca6d476dfe21@simark.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=FORGED_SPF_HELO, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_NONE 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: Sat, 14 Mar 2020 15:35:26 -0000 On 10/03/2020 15:45, Simon Marchi wrote: > On 2020-03-10 11:16 a.m., Eli Zaretskii wrote: >>> From: Jon Turney >>> Date: Sun, 8 Mar 2020 14:05:10 +0000 >>> >>>>> So what we can do is add an "MS-Windows" osabi and make "Cygwin" and >>>>> "MS-Windows" functionally equivalent. Any "pei-i386" or "pei-x86-64" >>>>> executable would be detected as "MS-Windows". >>> >>> I believe this suggestion for x86_64 is wrong, in the other direction: >>> x86_64 Cygwin is LP64, but Windows is LLP64 (Se also table in [1]) >> >> If the LP64 thing is part of what defines the OS ABI, then yes, Cygwin >> should have a separate value. > > If I understand correctly, that's one practical reason for introducing the separate > "Windows" OS ABI? That's the suggestion in: https://sourceware.org/bugzilla/show_bug.cgi?id=21500