Use require can_single_step_to_signal_handler
authorTom Tromey <tom@tromey.com>
Wed, 14 Dec 2022 16:51:57 +0000 (09:51 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 13 Jan 2023 20:18:56 +0000 (13:18 -0700)
This changes some tests to use "require can_single_step_to_signal_handler".

gdb/testsuite/gdb.base/kill-after-signal.exp

index c7b80b538c59acc736964e21b20b5e8f5ec5be59..1372c9670ee0b9975dd519acf40d990eeee15c61 100644 (file)
 
 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."