mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
[gdb/testsuite] Fix clean_restart <absolute filename> in gdb.arch/thumb*.exp
Fix clean_restart <absolute filename> in gdb.arch/thumb*.exp. Likewise in test-case gdb.arch/pr25124.exp. Tested on arm-linux, target boards unix/-marm and unix/-mthumb.
This commit is contained in:
@@ -25,7 +25,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug
|
|||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
|
|
||||||
clean_restart $binfile
|
clean_restart $testfile
|
||||||
|
|
||||||
# Check if the disassemble ouput is correct.
|
# Check if the disassemble ouput is correct.
|
||||||
gdb_test "x /i main+8" \
|
gdb_test "x /i main+8" \
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {"add
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
clean_restart $binfile
|
clean_restart $testfile
|
||||||
|
|
||||||
#
|
#
|
||||||
# Run to `main' where we begin our tests.
|
# Run to `main' where we begin our tests.
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug
|
|||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
|
|
||||||
clean_restart $binfile
|
clean_restart $testfile
|
||||||
|
|
||||||
if {![runto_main]} {
|
if {![runto_main]} {
|
||||||
return -1
|
return -1
|
||||||
|
|||||||
Reference in New Issue
Block a user