[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:
Tom de Vries
2025-09-04 16:15:26 +02:00
parent 3638ca4c79
commit 40cd67be49
3 changed files with 3 additions and 3 deletions

View File

@@ -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" \

View File

@@ -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.

View File

@@ -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