2011-07-19 Yao Qi gdb/testsuite/ * gdb.base/kill-after-signal.exp: Skip if target doesn't support hardware single step. diff --git a/gdb/testsuite/gdb.base/kill-after-signal.exp b/gdb/testsuite/gdb.base/kill-after-signal.exp index eecad2e..df0afe7 100644 --- a/gdb/testsuite/gdb.base/kill-after-signal.exp +++ b/gdb/testsuite/gdb.base/kill-after-signal.exp @@ -14,6 +14,17 @@ # along with this program. If not, see . set testfile "kill-after-signal" + +if { ! [istarget "i?86-*-linux*"] + && ! [istarget "x86_64-*-linux*"] } { + # skip it if target doesn't support hardware single-step. In following tests, + # in "stepi", a signal is delivered along with single-step. In software single + # step, gdb is unable to determine the next instruction addresses, because start + # of signal handler is one of them. + untested ${testfile}.exp + return +} + if [prepare_for_testing ${testfile}.exp ${testfile}] { return -1 }