[testsuite] Skip gdb.trace/range-stepping.exp test case if not supported
authorPierre Langlois <pierre.langlois@arm.com>
Wed, 15 Jul 2015 13:33:32 +0000 (14:33 +0100)
committerPierre Langlois <pierre.langlois@arm.com>
Wed, 15 Jul 2015 13:33:32 +0000 (14:33 +0100)
commit42422cc7d6c2e816ef1c4d268f41b58c031344f2
treec12d7dbfaa4c29f45b4c395bff1154ed7cf3f703
parente7b01ce03de85cfbbddb6ed755486db528abf1d1
[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.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/range-stepping.exp
gdb/testsuite/gdb.trace/range-stepping.exp
gdb/testsuite/lib/range-stepping-support.exp