aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-14 09:51:57 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:56 -0700
commitb7e110700353debc7abe86c684bace14d17c3431 (patch)
treeca7bb49b1be826d9933d8dfc7acb30d5068bd014
parent28343f921b49dc01414615e5e8a2803ed5fb57cf (diff)
downloadgdb-b7e110700353debc7abe86c684bace14d17c3431.zip
gdb-b7e110700353debc7abe86c684bace14d17c3431.tar.gz
gdb-b7e110700353debc7abe86c684bace14d17c3431.tar.bz2
Use require can_single_step_to_signal_handler
This changes some tests to use "require can_single_step_to_signal_handler".
-rw-r--r--gdb/testsuite/gdb.base/kill-after-signal.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/kill-after-signal.exp b/gdb/testsuite/gdb.base/kill-after-signal.exp
index c7b80b5..1372c96 100644
--- a/gdb/testsuite/gdb.base/kill-after-signal.exp
+++ b/gdb/testsuite/gdb.base/kill-after-signal.exp
@@ -15,10 +15,7 @@
standard_testfile .c
-if { ![can_single_step_to_signal_handler] } {
- untested "cannot single-step to signal handler"
- return
-}
+require can_single_step_to_signal_handler
if [target_info exists gdb,nosignals] {
verbose "Skipping kill-after-signal.exp because of nosignals."