diff options
author | Pierre Langlois <pierre.langlois@arm.com> | 2015-07-15 14:33:32 +0100 |
---|---|---|
committer | Pierre Langlois <pierre.langlois@arm.com> | 2015-07-15 14:33:32 +0100 |
commit | 42422cc7d6c2e816ef1c4d268f41b58c031344f2 (patch) | |
tree | c12d7dbfaa4c29f45b4c395bff1154ed7cf3f703 /gdb/testsuite/gdb.base/range-stepping.exp | |
parent | e7b01ce03de85cfbbddb6ed755486db528abf1d1 (diff) | |
download | binutils-gdb-42422cc7d6c2e816ef1c4d268f41b58c031344f2.tar.gz |
[testsuite] Skip gdb.trace/range-stepping.exp test case if not supported
Tracepoints and range stepping are independent features. This patch
skips the gdb.trace/range-stepping.exp test case if the target does not
support range stepping.
gdb/testsuite/ChangeLog:
* gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
Move it to ...
* lib/range-stepping-support.exp (gdb_range_stepping_enabled):
... here.
* gdb.trace/range-stepping.exp: Check that the target supports
range stepping.
Diffstat (limited to 'gdb/testsuite/gdb.base/range-stepping.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/range-stepping.exp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gdb/testsuite/gdb.base/range-stepping.exp b/gdb/testsuite/gdb.base/range-stepping.exp index 3b8db7b68ad..2ff371d159f 100644 --- a/gdb/testsuite/gdb.base/range-stepping.exp +++ b/gdb/testsuite/gdb.base/range-stepping.exp @@ -27,27 +27,6 @@ if ![runto_main] { return -1 } -# Check whether range stepping is supported by the target. - -proc gdb_range_stepping_enabled { } { - global gdb_prompt - - set command "set range-stepping on" - set message "probe range-stepping support" - gdb_test_multiple $command $message { - -re "Range stepping is not supported.*\r\n$gdb_prompt $" { - pass $message - return 0 - } - -re "^$command\r\n$gdb_prompt $" { - pass $message - return 1 - } - } - - return 0 -} - if ![gdb_range_stepping_enabled] { unsupported "range stepping not supported by the target" return -1 |