This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] [SH] ... can do this signal stuff!


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  <thomas@codesourcery.com>

	* 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
===================================================================
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 <stdio.h>
 #include <signal.h>
 
-#ifdef __sh__
-#define signal(a,b)	/* Signals not supported on this target - make them go away */
-#endif
-
 
 #ifdef PROTOTYPES
 void
Index: gdb/testsuite/gdb.base/annota3.c
===================================================================
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 <stdio.h>
 #include <signal.h>
 
-#ifdef __sh__
-#define signal(a,b)	/* Signals not supported on this target - make them go away */
-#endif
-
 
 #ifdef PROTOTYPES
 void
Index: gdb/testsuite/gdb.base/sigall.c
===================================================================
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 <signal.h>
 #include <unistd.h>
 
-#ifdef __sh__
-#define signal(a,b)	/* Signals not supported on this target - make them go away */
-#endif
 
 /* Signal handlers, we set breakpoints in them to make sure that the
    signals really get delivered.  */
Index: gdb/testsuite/gdb.base/signals.c
===================================================================
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 <signal.h>
 #include <unistd.h>
 
-#ifdef __sh__
-#define signal(a,b)	/* Signals not supported on this target - make them go away */
-#define alarm(a)	/* Ditto for alarm() */
-#endif
 
 static int count = 0;
 
Index: gdb/testsuite/gdb.reverse/sigall-reverse.c
===================================================================
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 <signal.h>
 #include <unistd.h>
 
-#ifdef __sh__
-#define signal(a,b)	/* Signals not supported on this target - make them go away */
-#endif
 
 /* Signal handlers, we set breakpoints in them to make sure that the
    signals really get delivered.  */


GrÃÃe,
 Thomas

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]