aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-14 09:52:45 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:56 -0700
commit5f3ef82813891f87dc1d34453e3f0ddc045b30f8 (patch)
treefc3da1987de737a4cd449bfd01a25c604cbeaf5c /gdb
parentb7e110700353debc7abe86c684bace14d17c3431 (diff)
downloadfsf-binutils-gdb-5f3ef82813891f87dc1d34453e3f0ddc045b30f8.zip
fsf-binutils-gdb-5f3ef82813891f87dc1d34453e3f0ddc045b30f8.tar.gz
fsf-binutils-gdb-5f3ef82813891f87dc1d34453e3f0ddc045b30f8.tar.bz2
Use require supports_get_siginfo_type
This changes some tests to use "require supports_get_siginfo_type".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp5
-rw-r--r--gdb/testsuite/gdb.base/siginfo-obj.exp5
-rw-r--r--gdb/testsuite/gdb.base/siginfo-thread.exp5
3 files changed, 3 insertions, 12 deletions
diff --git a/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp b/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp
index 25c681f..182b2f2 100644
--- a/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp
+++ b/gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp
@@ -30,10 +30,7 @@ if [target_info exists gdb,nosignals] {
return -1
}
-if { ![supports_get_siginfo_type] } {
- verbose "Skipping catch-signal-siginfo-cond.exp because of lack of support."
- return -1
-}
+require supports_get_siginfo_type
standard_testfile
diff --git a/gdb/testsuite/gdb.base/siginfo-obj.exp b/gdb/testsuite/gdb.base/siginfo-obj.exp
index f641160..9d8bfe7 100644
--- a/gdb/testsuite/gdb.base/siginfo-obj.exp
+++ b/gdb/testsuite/gdb.base/siginfo-obj.exp
@@ -26,10 +26,7 @@ if [target_info exists gdb,nosignals] {
return
}
-if { ![supports_get_siginfo_type] } {
- verbose "Skipping siginfo-obj.exp because of lack of support."
- return
-}
+require supports_get_siginfo_type
standard_testfile
diff --git a/gdb/testsuite/gdb.base/siginfo-thread.exp b/gdb/testsuite/gdb.base/siginfo-thread.exp
index b40b23a..718889f 100644
--- a/gdb/testsuite/gdb.base/siginfo-thread.exp
+++ b/gdb/testsuite/gdb.base/siginfo-thread.exp
@@ -21,10 +21,7 @@ if [target_info exists gdb,nosignals] {
return
}
-if { ![supports_get_siginfo_type] } {
- verbose "Skipping siginfo-thread.exp because of lack of support."
- return
-}
+require supports_get_siginfo_type
standard_testfile .c