From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25732 invoked by alias); 3 Dec 2013 12:07:36 -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 25723 invoked by uid 89); 3 Dec 2013 12:07:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: glazunov.sibelius.xs4all.nl Received: from Unknown (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 03 Dec 2013 12:07:34 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id rB3C7KaV010483; Tue, 3 Dec 2013 13:07:20 +0100 (CET) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id rB3C7KF1012549; Tue, 3 Dec 2013 13:07:20 +0100 (CET) Date: Tue, 03 Dec 2013 12:07:00 -0000 Message-Id: <201312031207.rB3C7KF1012549@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: jose.marchesi@oracle.com CC: gdb-patches@sourceware.org In-reply-to: <87iov6w3g9.fsf@oracle.com> (jose.marchesi@oracle.com) Subject: Re: [PATCH] testsuite: sigall.exp: handle SIGLOST/SIGPWR conflict in sparc64 targets References: <877gd4t72x.fsf@oracle.com> <87iov6w3g9.fsf@oracle.com> X-SW-Source: 2013-12/txt/msg00080.txt.bz2 > From: jose.marchesi@oracle.com (Jose E. Marchesi) > Date: Tue, 03 Dec 2013 12:59:02 +0100 > > ping > > Hi. > > In sparc64 SIGLOST and SIGPWR have the same signal number. The > following patch fixes gdb.base/sigall.exp accordingly. > > Tested in sparc64-unknown-linux-gnu. > > 2013-10-23 Jose E. Marchesi > > * gdb.base/sigall.exp (test_one_sig): gdb identifies SIGLOST as a > SIGPWR in sparc64. > > * gdb.base/sigall.c (main): In some targets SIGLOST and SIGPWR > have the same signal number. Handle this situation. Small nit: > diff --git a/gdb/testsuite/gdb.base/sigall.exp b/gdb/testsuite/gdb.base/sigall.exp > index b1b8597..4bfb199 100644 > --- a/gdb/testsuite/gdb.base/sigall.exp > +++ b/gdb/testsuite/gdb.base/sigall.exp > @@ -39,12 +39,20 @@ proc test_one_sig {nextsig} { > set need_another_continue 1 > set missed_handler 0 > if $this_sig_supported then { > + set esig $thissig > + > if { $thissig == "IO" } { > setup_xfail "i*86-pc-linuxoldld-gnu" "i*86-pc-linuxaout-gnu" > } > + # In SPARC64 systems SIGLOST==SIGPWR and gdb identifies the raised > + # signal as PWR. Change that into "On Linux SPARC64 systems..." With that change, this is fine with me.