From: Tom de Vries Date: Wed, 3 Sep 2025 16:09:41 +0000 (+0200) Subject: [gdb/testsuite] Fix clean_restart in gdb.disasm X-Git-Tag: gdb-17-branchpoint~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=086e3c9bc26f6416269c62585bb16ede940a1ff4;p=thirdparty%2Fbinutils-gdb.git [gdb/testsuite] Fix clean_restart in gdb.disasm Fix clean_restart 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. --- diff --git a/gdb/testsuite/gdb.disasm/am33.exp b/gdb/testsuite/gdb.disasm/am33.exp index b5ae9815db1..7515da1781b 100644 --- a/gdb/testsuite/gdb.disasm/am33.exp +++ b/gdb/testsuite/gdb.disasm/am33.exp @@ -795,7 +795,7 @@ proc dsp_autoincrement_tests { } { } } -clean_restart $binfile +clean_restart $::testfile call_tests movm_tests diff --git a/gdb/testsuite/gdb.disasm/hppa.exp b/gdb/testsuite/gdb.disasm/hppa.exp index e330809a355..53027d7bbc6 100644 --- a/gdb/testsuite/gdb.disasm/hppa.exp +++ b/gdb/testsuite/gdb.disasm/hppa.exp @@ -1365,7 +1365,7 @@ proc fmemLRbug_tests { } { } } -clean_restart $binfile +clean_restart $::testfile all_integer_memory_tests all_immediate_tests diff --git a/gdb/testsuite/gdb.disasm/mn10300.exp b/gdb/testsuite/gdb.disasm/mn10300.exp index 55ce96c7548..74e7c7cc3a9 100644 --- a/gdb/testsuite/gdb.disasm/mn10300.exp +++ b/gdb/testsuite/gdb.disasm/mn10300.exp @@ -529,7 +529,7 @@ proc sub_tests { } { } } -clean_restart $binfile +clean_restart $::testfile add_tests bcc_tests diff --git a/gdb/testsuite/gdb.disasm/sh3.exp b/gdb/testsuite/gdb.disasm/sh3.exp index 09b27a0d7e7..fc591a743ff 100644 --- a/gdb/testsuite/gdb.disasm/sh3.exp +++ b/gdb/testsuite/gdb.disasm/sh3.exp @@ -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