From patchwork Mon Jan 6 16:17:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eli Zaretskii X-Patchwork-Id: 37229 Received: (qmail 66817 invoked by alias); 6 Jan 2020 16:17:48 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 66809 invoked by uid 89); 6 Jan 2020 16:17:48 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:142, H*r:4.82, H*r:sk:fencepo, H*r:470 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, 06 Jan 2020 16:17:46 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ioV4a-0007KF-9f; Mon, 06 Jan 2020 11:17:44 -0500 Received: from [176.228.60.248] (port=2223 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ioV4Z-000056-EM; Mon, 06 Jan 2020 11:17:43 -0500 Date: Mon, 06 Jan 2020 18:17:52 +0200 Message-Id: <83r20ceez3.fsf@gnu.org> From: Eli Zaretskii To: Pedro Alves CC: philippe.waroquiers@skynet.be, gdb-patches@sourceware.org In-reply-to: <1fc3ac32-3349-b328-d868-8ed22dcaeeed@redhat.com> (message from Pedro Alves on Mon, 6 Jan 2020 11:57:42 +0000) 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> <835zie51mf.fsf@gnu.org> <52c4ca33-ffc4-8e1e-fe08-a92123ef02aa@redhat.com> <83o8w536l6.fsf@gnu.org> <3aacf88f-212e-f11f-0688-4f8219dab4c3@redhat.com> <83k16t32no.fsf@gnu.org> <83fth8v1nu.fsf@gnu.org> <52408aa9-5a86-2ade-ec23-c8293eff130d@redhat.com> <83r20ggtxw.fsf@gnu.org> <1fc3ac32-3349-b328-d868-8ed22dcaeeed@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes > Cc: philippe.waroquiers@skynet.be, gdb-patches@sourceware.org > From: Pedro Alves > Date: Mon, 6 Jan 2020 11:57:42 +0000 > > >> I think this should have a NEWS entry, BTW. > > > > It's a kind of a bugfix, so I didn't think it was NEWS-worthy. > > My thinking is that users that might have been scripting > around $_exitcode may need to adjust to look at $_exitsignal. Fair enough. How about the below? diff --git a/gdb/NEWS b/gdb/NEWS index f51a989..11e4221 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -3,6 +3,9 @@ *** Changes since GDB 9 +* Debugging MS-Windows processes now sets $_exitsignal when the + inferior is terminated by a signal, instead of setting $_exitcode. + * Multithreaded symbol loading has now been enabled by default on systems that support it (see entry for GDB 9, below), providing faster performance for programs with many symbols.