From be777e08f4ff4cd46874e4b138917de9786b6a07 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Thu, 23 Jun 2011 07:46:13 +0000 Subject: gdb/testsuite/ * gdb.base/moribund-step.exp: Skip test if displaced stepping is not supported. * lib/gdb.exp (support_displaced_stepping): New. --- gdb/testsuite/gdb.base/moribund-step.exp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/testsuite/gdb.base/moribund-step.exp') diff --git a/gdb/testsuite/gdb.base/moribund-step.exp b/gdb/testsuite/gdb.base/moribund-step.exp index 515ad2f..e0bdbab 100644 --- a/gdb/testsuite/gdb.base/moribund-step.exp +++ b/gdb/testsuite/gdb.base/moribund-step.exp @@ -14,6 +14,12 @@ # along with this program. If not, see . set testfile moribund-step + +if { ![support_displaced_stepping] } { + unsupported "displaced stepping" + return -1 +} + if { [prepare_for_testing ${testfile}.exp ${testfile} start.c] } { return -1 } -- cgit v1.1