From: Tom Tromey Date: Wed, 14 Dec 2022 16:51:57 +0000 (-0700) Subject: Use require can_single_step_to_signal_handler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7e110700353debc7abe86c684bace14d17c3431;p=binutils-gdb.git Use require can_single_step_to_signal_handler This changes some tests to use "require can_single_step_to_signal_handler". --- diff --git a/gdb/testsuite/gdb.base/kill-after-signal.exp b/gdb/testsuite/gdb.base/kill-after-signal.exp index c7b80b538c5..1372c9670ee 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."