From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107102 invoked by alias); 27 May 2019 18:38:00 -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 107094 invoked by uid 89); 27 May 2019 18:38:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=H*Ad:D*be, HX-Languages-Length:532 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 27 May 2019 18:37:59 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVKVQ-0005IV-83; Mon, 27 May 2019 14:37:57 -0400 Received: from [176.228.60.248] (port=3139 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hVKVP-0000Mv-F0; Mon, 27 May 2019 14:37:56 -0400 Date: Mon, 27 May 2019 18:38:00 -0000 Message-Id: <83muj7216g.fsf@gnu.org> From: Eli Zaretskii To: Pedro Alves CC: philippe.waroquiers@skynet.be, gdb-patches@sourceware.org In-reply-to: (message from Pedro Alves on Mon, 27 May 2019 18:33:11 +0100) Subject: Re: [RFAv3 2/6] Improve process exit status macros on MinGW References: <20190504161753.15530-1-philippe.waroquiers@skynet.be> <20190504161753.15530-3-philippe.waroquiers@skynet.be> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2019-05/txt/msg00596.txt.bz2 > 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.