aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2012-02-28 10:24:15 +0000
committerThomas Schwinge <tschwinge@gnu.org>2012-02-28 10:24:15 +0000
commit7964b62a371300465a2bc8295cc179b7831a1e24 (patch)
treeda2da64404777d0f86083ccec2c7a94868569f72 /gdb/testsuite
parent6425366c4bce586a821b3a707e4319fe2e1f7ac6 (diff)
downloadgdb-7964b62a371300465a2bc8295cc179b7831a1e24.zip
gdb-7964b62a371300465a2bc8295cc179b7831a1e24.tar.gz
gdb-7964b62a371300465a2bc8295cc179b7831a1e24.tar.bz2
gdb/testsuite/
* 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.
Diffstat (limited to 'gdb/testsuite')
-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 129773b..ddb9cdc 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 6a13ee9..28c9ed1 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 6a13ee9..28c9ed1 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 92ebc6b..110029d 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 d97719c..51e97c4 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 f442dc8..b7579a8 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. */