From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8494 invoked by alias); 30 May 2019 10:26:59 -0000 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 Received: (qmail 8486 invoked by uid 89); 30 May 2019 10:26:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mailsec103.isp.belgacom.be Received: from mailsec103.isp.belgacom.be (HELO mailsec103.isp.belgacom.be) (195.238.20.99) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 May 2019 10:26:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1559212017; x=1590748017; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=3+WAUQex7eZvS7Lyt+H69aBUZLadStmcpzd47jjOG3E=; b=fclG5HbL4bu1kBNaarx19goJJW/cROlTeyNxVXBKlLctkWlvZn0XXSwB dRIH78ZllIePcVjoEPtkhHoJLjCzsQ==; Received: from 161.32-242-81.adsl-dyn.isp.belgacom.be (HELO md) ([81.242.32.161]) by relay.skynet.be with ESMTP/TLS/AES256-GCM-SHA384; 30 May 2019 12:26:55 +0200 Message-ID: <1559212015.1454.36.camel@skynet.be> Subject: Re: [RFAv3 2/6] Improve process exit status macros on MinGW From: Philippe Waroquiers To: Pedro Alves , Eli Zaretskii Cc: gdb-patches@sourceware.org Date: Thu, 30 May 2019 10:26:00 -0000 In-Reply-To: <77691670-d0ed-6094-c48d-3a3ced99a5b8@redhat.com> References: <20190504161753.15530-1-philippe.waroquiers@skynet.be> <20190504161753.15530-3-philippe.waroquiers@skynet.be> <83muj7216g.fsf@gnu.org> <77691670-d0ed-6094-c48d-3a3ced99a5b8@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-05/txt/msg00680.txt.bz2 On Wed, 2019-05-29 at 13:37 +0100, Pedro Alves wrote: > On 5/27/19 7:37 PM, Eli Zaretskii wrote: > > > From: Pedro Alves > > > Date: Mon, 27 May 2019 18:33:11 +0100 > > > > > > I admit to being a bit confused about why we want to do this > > > translation for this feature while we don't do it for the exit code > > > of inferiors running under gdb, for example. I mean, exit status > > > with 0xc0000000 set don't cause $_exitsignal to be set instead of > > > $_exitcode. > > > > We should probably do this everywhere where it matters whether the > > inferior exited due to a fatal signal. > > Wouldn't it better to leave that translation out of this patch series, > and do it everywhere it matters as a separate change, to avoid > creating inconsistencies? Might be simpler for Philippe too, since > the current patch isn't OK as is. Yes, that looks a better approach, in particular because I do not have a platform where I can compile such builds ... Philippe