From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21593 invoked by alias); 6 Jan 2020 19:38:58 -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 21575 invoked by uid 89); 6 Jan 2020 19:38:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*x:5.0, H*x:Windows X-HELO: sonic303-21.consmr.mail.ir2.yahoo.com Received: from sonic303-21.consmr.mail.ir2.yahoo.com (HELO sonic303-21.consmr.mail.ir2.yahoo.com) (77.238.178.202) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Jan 2020 19:38:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1578339532; bh=SWqm50/2jRVrFvLw740YFVXgkKeIHsjDQlnugFRrKng=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=NLz//GRKg4qGWEkux/v8JpAgff8o7A9MtA7Y4q4xheqluii5PR5D99m7JAzl2/9MbbtydQIwC1Uf7n04SvJYmh4Om9Q9erSvn8KQX2GoY9B84+vNqsfNfs4B2qqSZxG2s67duihat2y+dJy13c2aQXjw51d9R1g+PQZXyDk3pb9JVX2i10KkBo7toHdHqmpqAYwN4dPfRjHOz4fzkRQoomMvn49UPHL63Hyrx9gqBc8ZWfoyEJMtMTF808jp3EnRjZRA83CI0VnjBxP2UosppPgo+Kz2snWKqUIeS3cVU9i/LLB98Z8wuQQmiNxMdxmbji78kh14GauW4WniS6JjzA== Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ir2.yahoo.com with HTTP; Mon, 6 Jan 2020 19:38:52 +0000 Date: Mon, 06 Jan 2020 19:38:00 -0000 From: "Hannes Domani via gdb-patches" Reply-To: Hannes Domani To: Gdb-patches Message-ID: <735771986.12050726.1578339530680@mail.yahoo.com> In-Reply-To: <834kx8e5v5.fsf@gnu.org> 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> Subject: Re: [RFAv3 2/6] Improve process exit status macros on MinGW MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00130.txt.bz2 Am Montag, 6. Januar 2020, 20:34:40 MEZ hat Eli Zaretskii Fo= lgendes geschrieben: > > Date: Mon, 6 Jan 2020 18:59:36 +0000 (UTC) > > From: "Hannes Domani via gdb-patches" > > > > C:/src/repos/binutils-gdb.git/gdb/gdbsupport/gdb_wait.c: In function 'i= nt windows_status_to_termsig(long unsigned int)': > > C:/src/repos/binutils-gdb.git/gdb/gdbsupport/gdb_wait.c:56:37: error: '= SIGSEGV' was not declared in this scope > >=C2=A0=C2=A0=C2=A0 56 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {EXCEPTION_ACCESS_= VIOLATION,=C2=A0=C2=A0 SIGSEGV}, > >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~ > > 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 @@ >=C2=A0=C2=A0=C2=A0=C2=A0 false positives is justified by the utility of re= porting the >=C2=A0=C2=A0=C2=A0=C2=A0 terminating signal in the "normal" cases.=C2=A0 */ > > -# include "gdb/signals.h"=C2=A0=C2=A0=C2=A0 /* for enum gdb_signal */ > +# include > > > # define WIN32_LEAN_AND_MEAN > # include =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /* for EX= CEPTION_* constants */ Yes, this works.