mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
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.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2016-03-01 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
|
* gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
|
||||||
|
@ -22,14 +22,11 @@ if {![is_aarch32_target]} then {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
set testfile "arm-disp-step"
|
standard_testfile .S
|
||||||
set srcfile ${testfile}.S
|
|
||||||
set binfile ${objdir}/${subdir}/${testfile}
|
|
||||||
|
|
||||||
set additional_flags "-Wa,-g"
|
set additional_flags "-Wa,-g"
|
||||||
|
|
||||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug $additional_flags]] != "" } {
|
if { [prepare_for_testing $testfile.exp $testfile $srcfile [list debug $additional_flags]] } {
|
||||||
untested arm-disp-step.exp
|
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -410,10 +407,6 @@ proc test_add_rn_pc {} {
|
|||||||
gdb_assert { [expr {$pc_val + 4 + 4} == $r3_val] }
|
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
|
# 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,
|
# 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.
|
# which is in library might be compiled in Thumb.
|
||||||
|
Reference in New Issue
Block a user