diff options
author | Yao Qi <yao@codesourcery.com> | 2011-06-23 07:46:13 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-06-23 07:46:13 +0000 |
commit | be777e08f4ff4cd46874e4b138917de9786b6a07 (patch) | |
tree | 48663ad421a7b1aa2f9e1f670049f95659418c4e /gdb/testsuite/gdb.base/moribund-step.exp | |
parent | 615556d61ead3470e77fbd63912a6166be07585f (diff) | |
download | fsf-binutils-gdb-be777e08f4ff4cd46874e4b138917de9786b6a07.zip fsf-binutils-gdb-be777e08f4ff4cd46874e4b138917de9786b6a07.tar.gz fsf-binutils-gdb-be777e08f4ff4cd46874e4b138917de9786b6a07.tar.bz2 |
gdb/testsuite/
* gdb.base/moribund-step.exp: Skip test if displaced stepping is not
supported.
* lib/gdb.exp (support_displaced_stepping): New.
Diffstat (limited to 'gdb/testsuite/gdb.base/moribund-step.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/moribund-step.exp | 6 |
1 files changed, 6 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. set testfile moribund-step + +if { ![support_displaced_stepping] } { + unsupported "displaced stepping" + return -1 +} + if { [prepare_for_testing ${testfile}.exp ${testfile} start.c] } { return -1 } |