diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-25 14:41:23 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-26 18:28:32 -0700 |
commit | c852f1aeca4106d9bcc5d0cd8c0d595250af7184 (patch) | |
tree | f2d4aaa20cfdc7964fb2d9d09e6db4adcfea42c3 /gdb | |
parent | 1d6704e0ce0f656dfb5e2745ea7bf701b3e511f6 (diff) | |
download | gdb-c852f1aeca4106d9bcc5d0cd8c0d595250af7184.zip gdb-c852f1aeca4106d9bcc5d0cd8c0d595250af7184.tar.gz gdb-c852f1aeca4106d9bcc5d0cd8c0d595250af7184.tar.bz2 |
Use clean_restart in gdb.stabs
Change gdb.stabs to use clean_restart more consistently.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.stabs/weird.exp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp index f89595b..2375e4c 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]] |