From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109770 invoked by alias); 6 Jan 2020 19:55:54 -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 109709 invoked by uid 89); 6 Jan 2020 19:55:54 -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=HContent-type:text, HContent-type:charset, HContent-type:plain, HContent-type:utf-8 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 19:55:52 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ioYTe-0004nw-VX; Mon, 06 Jan 2020 14:55:51 -0500 Received: from [176.228.60.248] (port=3792 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ioYTC-0005AQ-L6; Mon, 06 Jan 2020 14:55:41 -0500 Date: Mon, 06 Jan 2020 19:55:00 -0000 Message-Id: <831rsce4wb.fsf@gnu.org> From: Eli Zaretskii To: Hannes Domani CC: gdb-patches@sourceware.org In-reply-to: <735771986.12050726.1578339530680@mail.yahoo.com> (gdb-patches@sourceware.org) 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> <1720750964.12023035.1578337176662@mail.yahoo.com> <834kx8e5v5.fsf@gnu.org> <735771986.12050726.1578339530680@mail.yahoo.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00132.txt.bz2 > Date: Mon, 6 Jan 2020 19:38:50 +0000 (UTC) > From: "Hannes Domani via gdb-patches" > > > Does the below help? > > > > diff --git a/gdb/gdbsupport/gdb_wait.c b/gdb/gdbsupport/gdb_wait.c > > index 037ba64..6facc48 100644 > > --- a/gdb/gdbsupport/gdb_wait.c > > +++ b/gdb/gdbsupport/gdb_wait.c > > @@ -34,7 +34,7 @@ > >     false positives is justified by the utility of reporting the > >     terminating signal in the "normal" cases.  */ > > > > -# include "gdb/signals.h"    /* for enum gdb_signal */ > > +# include > > > > > > # define WIN32_LEAN_AND_MEAN > > # include         /* for EXCEPTION_* constants */ > > Yes, this works. Thanks, pushed.