From 02223ca30e3c70b6438b445ea5bfddeab9cf81e0 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 5 Sep 2025 08:40:36 +0200 Subject: [PATCH] [gdb/testsuite] Fix clean_restart in allow_aarch64_sme_tests Fix fallout on aarch64-linux with test-case gdb.testsuite/gdb-caching-proc-consistency.exp from erroring out on clean_restart . --- gdb/testsuite/lib/gdb.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index e67779a2608..7a3ea8d9644 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -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} $" { -- 2.47.3