From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67635 invoked by alias); 6 Jan 2020 18:59:41 -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 67625 invoked by uid 89); 6 Jan 2020 18:59:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*x:5.0, H*x:Windows X-HELO: sonic307-54.consmr.mail.ir2.yahoo.com Received: from sonic307-54.consmr.mail.ir2.yahoo.com (HELO sonic307-54.consmr.mail.ir2.yahoo.com) (87.248.110.31) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Jan 2020 18:59:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1578337177; bh=LkvLIcqnnYW2p55YhOntfnbrESw6cdlpsMGYjW1iNF4=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=PdqsZ5fZKF6jpYyz3bbjldZwJMnQiinhN7IFY6jAR+EwwAo2oqTmuCmWZDS/ATUPuXuZ9x4LpDPWYLm3uPEekq/V8nsyYcQLKO1iHTjdfj4KRwR7wD11rPmC+JWPWSgrjow/GeXiqYp0Qt4AMW+iZPvgJaC4Qt/NlRDZ5ojx0sThwbC5qnZ3BDtupYLTyAbx9I4uKX0QVlCZyG7MU53setNiEUhBnPR+yDB0sWN7uWpXcWeBh8VGnLBJAYSYM0XDUgcpc2My49223JJLMm/PuDzhXJtoxVMi7rJgqDUIPC1ZhZXAHbR2QcZIoKC/c9F7fgOR0mf8zlCzc4MmOFc44w== Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Mon, 6 Jan 2020 18:59:37 +0000 Date: Mon, 06 Jan 2020 18:59:00 -0000 From: "Hannes Domani via gdb-patches" Reply-To: Hannes Domani To: Gdb-patches Message-ID: <1720750964.12023035.1578337176662@mail.yahoo.com> In-Reply-To: <52408aa9-5a86-2ade-ec23-c8293eff130d@redhat.com> 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> 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/msg00125.txt.bz2 Am Freitag, 3. Januar 2020, 20:59:45 MEZ hat Pedro Alves Folgendes geschrieben: > See the new version in the new patch.=C2=A0 It's the same, except it > returns host signals SIGSEGV, SIGILL, etc., and -1 on "unknown". > Here's the updated patch.=C2=A0 I confirmed that it builds on MinGW-W64 > using my Fedora's cross cross compiler, but I didn't try to run > the resulting GDB (since I'm not on Windows). > > WDYT?=C2=A0 Does it work for you?=C2=A0 I think this should have a NEWS > entry, BTW. I just tried to compile current master (with a native mingw-w64 compiler), = and have this failure: C:/src/repos/binutils-gdb.git/gdb/gdbsupport/gdb_wait.c: In function 'int w= indows_status_to_termsig(long unsigned int)': C:/src/repos/binutils-gdb.git/gdb/gdbsupport/gdb_wait.c:56:37: error: 'SIGS= EGV' was not declared in this scope =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 ^~~~~~~ C:/src/repos/binutils-gdb.git/gdb/gdbsupport/gdb_wait.c:59:40: error: 'SIGI= LL' was not declared in this scope =C2=A0=C2=A0 59 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {EXCEPTION_ILLEGAL_INSTRUCT= ION,=C2=A0=C2=A0 SIGILL}, =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=C2=A0=C2=A0 ^~~~~~ C:/src/repos/binutils-gdb.git/gdb/gdbsupport/gdb_wait.c:62:41: error: 'SIGF= PE' was not declared in this scope =C2=A0=C2=A0 62 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {EXCEPTION_FLT_DENORMAL_OPE= RAND,=C2=A0=C2=A0 SIGFPE}, =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=C2=A0=C2=A0=C2=A0 ^~~~~~ C:/src/repos/binutils-gdb.git/gdb/gdbsupport/gdb_wait.c:73:27: error: 'SIGT= ERM' was not declared in this scope =C2=A0=C2=A0 73 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {CONTROL_C_EXIT,=C2=A0=C2= =A0=C2=A0=C2=A0 SIGTERM} =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 ^~~~~~~ Once I add #include , it works again. Am I the only one with this problem? Regards Hannes Domani