diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-03-01 15:15:58 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-03-01 15:21:42 +0000 |
commit | 30ca9da1193ec4c82cc67a2ec2e6fb6adac7ab84 (patch) | |
tree | 46c1d625a8b534eb4e7f2b9208f58bcd835a8423 /gdb/testsuite | |
parent | dc856b382065cdfab3f9bb484c07e182950eb4d4 (diff) | |
download | gdb-30ca9da1193ec4c82cc67a2ec2e6fb6adac7ab84.zip gdb-30ca9da1193ec4c82cc67a2ec2e6fb6adac7ab84.tar.gz gdb-30ca9da1193ec4c82cc67a2ec2e6fb6adac7ab84.tar.bz2 |
Fix output path for arm-disp-step.exp
This patch fixes the following error,
ERROR: (/scratch/yao/gdb/build-git/arm-linux-gnueabihf/gdb/testsuite/outputs/gdb.arch/arm-disp-step/arm-disp-step) No such file or directory
FAIL: gdb.arch/arm-disp-step.exp: Can't run to main
gdb/testsuite:
2016-03-01 Yao Qi <yao.qi@linaro.org>
* gdb.arch/arm-disp-step.exp: Use standard_testfile and
prepare_for_testing.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/arm-disp-step.exp | 11 |
2 files changed, 7 insertions, 9 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 828b498..d77645a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2016-03-01 Yao Qi <yao.qi@linaro.org> + * gdb.arch/arm-disp-step.exp: Use standard_testfile and + prepare_for_testing. + +2016-03-01 Yao Qi <yao.qi@linaro.org> + * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing. 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com> diff --git a/gdb/testsuite/gdb.arch/arm-disp-step.exp b/gdb/testsuite/gdb.arch/arm-disp-step.exp index 873c440..f6bef79 100644 --- a/gdb/testsuite/gdb.arch/arm-disp-step.exp +++ b/gdb/testsuite/gdb.arch/arm-disp-step.exp @@ -22,14 +22,11 @@ if {![is_aarch32_target]} then { return } -set testfile "arm-disp-step" -set srcfile ${testfile}.S -set binfile ${objdir}/${subdir}/${testfile} +standard_testfile .S set additional_flags "-Wa,-g" -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug $additional_flags]] != "" } { - untested arm-disp-step.exp +if { [prepare_for_testing $testfile.exp $testfile $srcfile [list debug $additional_flags]] } { return -1 } @@ -410,10 +407,6 @@ proc test_add_rn_pc {} { gdb_assert { [expr {$pc_val + 4 + 4} == $r3_val] } } -# Get things started. - -clean_restart ${testfile} - # Turn displaced stepping off before runto main. When displaced stepping # is on, and we type 'run', GDB will first try to single step on _dl_debug_state, # which is in library might be compiled in Thumb. |