From c852f1aeca4106d9bcc5d0cd8c0d595250af7184 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 25 Jan 2023 14:41:23 -0700 Subject: [PATCH] Use clean_restart in gdb.stabs Change gdb.stabs to use clean_restart more consistently. --- gdb/testsuite/gdb.stabs/weird.exp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp index f89595b0789..2375e4c96e4 100644 --- a/gdb/testsuite/gdb.stabs/weird.exp +++ b/gdb/testsuite/gdb.stabs/weird.exp @@ -273,10 +273,7 @@ if { [gdb_compile "${srcfile}" "${binfile}" object ""] != "" } { remote_file build delete ${srcfile} -# Start with a fresh gdb -gdb_exit -gdb_start -gdb_reinitialize_dir $srcdir/$subdir +clean_restart set binfile [gdb_remote_download host ${binfile} \ [standard_output_file object.o]] -- 2.30.2