From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1720 invoked by alias); 28 Feb 2012 09:24:16 -0000 Received: (qmail 1712 invoked by uid 22791); 28 Feb 2012 09:24:14 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,FROM_12LTRDOM X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Feb 2012 09:24:01 +0000 Received: from nat-dem.mentorg.com ([195.212.93.2] helo=eu2-mail.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1S2JHr-0003WZ-2K from Thomas_Schwinge@mentor.com ; Tue, 28 Feb 2012 01:23:59 -0800 Received: from feldtkeller.schwinge.homeip.net ([172.30.64.109]) by eu2-mail.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 28 Feb 2012 10:23:57 +0100 From: Thomas Schwinge To: gdb-patches@sourceware.org Cc: Kevin Buettner Subject: [PATCH] [SH] ... can do this signal stuff! User-Agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Tue, 28 Feb 2012 10:03:00 -0000 Message-ID: <874nub5n16.fsf@schwinge.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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 X-SW-Source: 2012-02/txt/msg00648.txt.bz2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 4245 Hi! An oldie -- this code has been there as of its initial import in April 1999, but the world has changed a bit in the mean time... This fixes another 223 testsuite FAILs for sh-linux-gnu; no effect for sh-elf (tests are not run there). gdb/testsuite/ 2012-02-28 Thomas Schwinge * gdb.base/annota1.c [__sh__]: Remove any special-casing. * gdb.base/annota3.c: Likewise. * gdb.base/sigall.c: Likewise. * gdb.base/signals.c: Likewise. * gdb.reverse/sigall-reverse.c: Likewise. Index: gdb/testsuite/gdb.base/annota1.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/testsuite/gdb.base/annota1.c,v retrieving revision 1.1.1.3 diff -u -p -r1.1.1.3 annota1.c --- gdb/testsuite/gdb.base/annota1.c 2 Nov 1999 04:44:26 -0000 1.1.1.3 +++ gdb/testsuite/gdb.base/annota1.c 28 Feb 2012 09:14:11 -0000 @@ -1,10 +1,6 @@ #include #include =20 -#ifdef __sh__ -#define signal(a,b) /* Signals not supported on this target - make them go= away */ -#endif - =20 #ifdef PROTOTYPES void Index: gdb/testsuite/gdb.base/annota3.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/testsuite/gdb.base/annota3.c,v retrieving revision 1.1 diff -u -p -r1.1 annota3.c --- gdb/testsuite/gdb.base/annota3.c 3 Aug 2003 01:57:13 -0000 1.1 +++ gdb/testsuite/gdb.base/annota3.c 28 Feb 2012 09:14:11 -0000 @@ -1,10 +1,6 @@ #include #include =20 -#ifdef __sh__ -#define signal(a,b) /* Signals not supported on this target - make them go= away */ -#endif - =20 #ifdef PROTOTYPES void Index: gdb/testsuite/gdb.base/sigall.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/testsuite/gdb.base/sigall.c,v retrieving revision 1.3 diff -u -p -r1.3 sigall.c --- gdb/testsuite/gdb.base/sigall.c 13 Dec 2011 17:22:08 -0000 1.3 +++ gdb/testsuite/gdb.base/sigall.c 28 Feb 2012 09:14:11 -0000 @@ -1,9 +1,6 @@ #include #include =20 -#ifdef __sh__ -#define signal(a,b) /* Signals not supported on this target - make them go= away */ -#endif =20 /* Signal handlers, we set breakpoints in them to make sure that the signals really get delivered. */ Index: gdb/testsuite/gdb.base/signals.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/testsuite/gdb.base/signals.c,v retrieving revision 1.2 diff -u -p -r1.2 signals.c --- gdb/testsuite/gdb.base/signals.c 13 Dec 2011 17:22:08 -0000 1.2 +++ gdb/testsuite/gdb.base/signals.c 28 Feb 2012 09:14:11 -0000 @@ -3,10 +3,6 @@ #include #include =20 -#ifdef __sh__ -#define signal(a,b) /* Signals not supported on this target - make them go= away */ -#define alarm(a) /* Ditto for alarm() */ -#endif =20 static int count =3D 0; =20 Index: gdb/testsuite/gdb.reverse/sigall-reverse.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/testsuite/gdb.reverse/sigall-reverse.c,v retrieving revision 1.6 diff -u -p -r1.6 sigall-reverse.c --- gdb/testsuite/gdb.reverse/sigall-reverse.c 4 Jan 2012 08:27:54 -0000 1.6 +++ gdb/testsuite/gdb.reverse/sigall-reverse.c 28 Feb 2012 09:14:11 -0000 @@ -18,9 +18,6 @@ #include #include =20 -#ifdef __sh__ -#define signal(a,b) /* Signals not supported on this target - make them go= away */ -#endif =20 /* Signal handlers, we set breakpoints in them to make sure that the signals really get delivered. */ Gr=C3=BC=C3=9Fe, Thomas --=-=-= Content-Type: application/pgp-signature Content-length: 489 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJPTJ0mAAoJENuKOtuXzphJ9v0H/0ruqtS8bm+D7P5T1My9bSp2 UVPiTFEj9FS2dLDJINk0i9enW0aUIFWfGNVRsmNA4Bh921FhUW/umyfns4mBCMMa xwVr6vdg2yljf/uD9EjMtxpHyYOcQQV71KRqL4RahxGTucYvAvNfJseWmiR5eaCN XTPhA/+WRnzxLjhBFPcsZt1E26IXx7xQ7E6X/AfDpKuGt2bhW44gJMJPpZkKZG8y upCbHOB2wQteItZWxQmuRmZHn8M5qcQt6QbhCHkOosd7GMt2EI1JhFH/z0zhQVc7 4fLkwpR6SlcbzDhcVWFaA60/R1oVEDzUQMKqwpnrvWsnAf1T0IYt7lRU+XqniA8= =lFbL -----END PGP SIGNATURE----- --=-=-=--