aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-09-04 16:15:26 +0200
committerTom de Vries <tdevries@suse.de>2025-09-04 16:15:26 +0200
commit40cd67be49603ddf3cc426bf133c7db0f8a55a66 (patch)
tree1979685109379e0f343894588605b16a92ebf423
parent3638ca4c79043b753404b86929c111b942167989 (diff)
downloadbinutils-40cd67be49603ddf3cc426bf133c7db0f8a55a66.zip
binutils-40cd67be49603ddf3cc426bf133c7db0f8a55a66.tar.gz
binutils-40cd67be49603ddf3cc426bf133c7db0f8a55a66.tar.bz2
[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.
-rw-r--r--gdb/testsuite/gdb.arch/pr25124.exp2
-rw-r--r--gdb/testsuite/gdb.arch/thumb-prologue.exp2
-rw-r--r--gdb/testsuite/gdb.arch/thumb2-it.exp2
3 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.arch/pr25124.exp b/gdb/testsuite/gdb.arch/pr25124.exp
index 4c43716..4e7c114 100644
--- a/gdb/testsuite/gdb.arch/pr25124.exp
+++ b/gdb/testsuite/gdb.arch/pr25124.exp
@@ -25,7 +25,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug
return -1
}
-clean_restart $binfile
+clean_restart $testfile
# Check if the disassemble ouput is correct.
gdb_test "x /i main+8" \
diff --git a/gdb/testsuite/gdb.arch/thumb-prologue.exp b/gdb/testsuite/gdb.arch/thumb-prologue.exp
index 112c111..2ee82fb 100644
--- a/gdb/testsuite/gdb.arch/thumb-prologue.exp
+++ b/gdb/testsuite/gdb.arch/thumb-prologue.exp
@@ -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.
diff --git a/gdb/testsuite/gdb.arch/thumb2-it.exp b/gdb/testsuite/gdb.arch/thumb2-it.exp
index 49031e1..e6ef06d 100644
--- a/gdb/testsuite/gdb.arch/thumb2-it.exp
+++ b/gdb/testsuite/gdb.arch/thumb2-it.exp
@@ -24,7 +24,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug
return -1
}
-clean_restart $binfile
+clean_restart $testfile
if {![runto_main]} {
return -1