From 7964b62a371300465a2bc8295cc179b7831a1e24 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 28 Feb 2012 10:24:15 +0000 Subject: [PATCH] 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. --- gdb/testsuite/ChangeLog | 8 ++++++++ gdb/testsuite/gdb.base/annota1.c | 4 ---- gdb/testsuite/gdb.base/annota3.c | 4 ---- gdb/testsuite/gdb.base/sigall.c | 3 --- gdb/testsuite/gdb.base/signals.c | 4 ---- gdb/testsuite/gdb.reverse/sigall-reverse.c | 3 --- 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 + + * 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 * 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 #include -#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 #include -#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 #include -#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 #include -#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 #include -#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. */ -- 2.30.2