]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Fix clean_restart <absolute filename> in gdb.disasm
authorTom de Vries <tdevries@suse.de>
Wed, 3 Sep 2025 16:09:41 +0000 (18:09 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 3 Sep 2025 16:09:41 +0000 (18:09 +0200)
Fix clean_restart <absolute filename> in the test-cases in gdb.disasm.

The changed test-cases:
- gdb.disasm/am33.exp
- gdb.disasm/hppa.exp
- gdb.disasm/mn10300.exp
- gdb.disasm/sh3.exp
are unsupported for me, but the changes are trivial.

gdb/testsuite/gdb.disasm/am33.exp
gdb/testsuite/gdb.disasm/hppa.exp
gdb/testsuite/gdb.disasm/mn10300.exp
gdb/testsuite/gdb.disasm/sh3.exp

index b5ae9815db143fc3efa08a5de16e9be4c162193a..7515da1781b1ad8801450948b80a75f133642a38 100644 (file)
@@ -795,7 +795,7 @@ proc dsp_autoincrement_tests { } {
     }
 }
 
-clean_restart $binfile
+clean_restart $::testfile
 
 call_tests
 movm_tests
index e330809a35503ec2bc5b7eb3b48e26d573cb7b1f..53027d7bbc65755da5bfaba6bb29fd919ce2eff0 100644 (file)
@@ -1365,7 +1365,7 @@ proc fmemLRbug_tests { } {
     }
 }
 
-clean_restart $binfile
+clean_restart $::testfile
 
 all_integer_memory_tests
 all_immediate_tests
index 55ce96c7548d1bd56208757a6a68e303519eace8..74e7c7cc3a95e4659e43c19371b349444d94451e 100644 (file)
@@ -529,7 +529,7 @@ proc sub_tests { } {
     }
 }
 
-clean_restart $binfile
+clean_restart $::testfile
 
 add_tests
 bcc_tests
index 09b27a0d7e777cdfeb3a4a4533083fff8b983719..fc591a743ff89d15760ecedbdede6f2f4e7a13d4 100644 (file)
@@ -100,7 +100,7 @@ proc all_fp_misc_tests { } {
     }
 }
 
-clean_restart $binfile
+clean_restart $::testfile
 
 all_fp_move_and_load_tests
 all_fp_arithmetic_tests