This changes some tests to use "require supports_get_siginfo_type".
---
gdb/testsuite/gdb.base/catch-signal-siginfo-cond.exp | 5 +----
gdb/testsuite/gdb.base/siginfo-obj.exp | 5 +----
gdb/testsuite/gdb.base/siginfo-thread.exp | 5 +----
3 files changed, 3 insertions(+), 12 deletions(-)
@@ -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
@@ -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
@@ -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