From: Tom Tromey Date: Wed, 25 Jan 2023 21:41:23 +0000 (-0700) Subject: Use clean_restart in gdb.stabs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c852f1aeca4106d9bcc5d0cd8c0d595250af7184;p=binutils-gdb.git Use clean_restart in gdb.stabs Change gdb.stabs to use clean_restart more consistently. --- 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]]