summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog8
-rw-r--r--gdb/testsuite/gdb.base/annota1.c4
-rw-r--r--gdb/testsuite/gdb.base/annota3.c4
-rw-r--r--gdb/testsuite/gdb.base/sigall.c3
-rw-r--r--gdb/testsuite/gdb.base/signals.c4
-rw-r--r--gdb/testsuite/gdb.reverse/sigall-reverse.c3
6 files changed, 8 insertions, 18 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 129773beeb4..ddb9cdc1494 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
* gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
diff --git a/gdb/testsuite/gdb.base/annota1.c b/gdb/testsuite/gdb.base/annota1.c
index 6a13ee9d53d..28c9ed1ba70 100644
--- a/gdb/testsuite/gdb.base/annota1.c
+++ b/gdb/testsuite/gdb.base/annota1.c
@@ -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
diff --git a/gdb/testsuite/gdb.base/annota3.c b/gdb/testsuite/gdb.base/annota3.c
index 6a13ee9d53d..28c9ed1ba70 100644
--- a/gdb/testsuite/gdb.base/annota3.c
+++ b/gdb/testsuite/gdb.base/annota3.c
@@ -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
diff --git a/gdb/testsuite/gdb.base/sigall.c b/gdb/testsuite/gdb.base/sigall.c
index 92ebc6bbe75..110029d8e28 100644
--- a/gdb/testsuite/gdb.base/sigall.c
+++ b/gdb/testsuite/gdb.base/sigall.c
@@ -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. */
diff --git a/gdb/testsuite/gdb.base/signals.c b/gdb/testsuite/gdb.base/signals.c
index d97719c333b..51e97c461a5 100644
--- a/gdb/testsuite/gdb.base/signals.c
+++ b/gdb/testsuite/gdb.base/signals.c
@@ -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;
diff --git a/gdb/testsuite/gdb.reverse/sigall-reverse.c b/gdb/testsuite/gdb.reverse/sigall-reverse.c
index f442dc8f69f..b7579a8e910 100644
--- a/gdb/testsuite/gdb.reverse/sigall-reverse.c
+++ b/gdb/testsuite/gdb.reverse/sigall-reverse.c
@@ -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. */