]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Fix clean_restart <absolute filename> in allow_aarch64_sme_tests
authorTom de Vries <tdevries@suse.de>
Fri, 5 Sep 2025 06:40:36 +0000 (08:40 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 5 Sep 2025 06:40:36 +0000 (08:40 +0200)
Fix fallout on aarch64-linux with test-case
gdb.testsuite/gdb-caching-proc-consistency.exp from erroring out on
clean_restart <absolute filename>.

gdb/testsuite/lib/gdb.exp

index e67779a26087266e5cc607a00a6d878b47eb98aa..7a3ea8d964456c0316dea8ce0226faae9bbf7bb8 100644 (file)
@@ -5153,7 +5153,8 @@ gdb_caching_proc allow_aarch64_sme_tests {} {
     }
 
     # Compilation succeeded so now run it via gdb.
-    clean_restart $obj
+    clean_restart
+    gdb_load $obj
     gdb_run_cmd
     gdb_expect {
        -re ".*Illegal instruction.*${gdb_prompt} $" {