public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Use clean_restart in gdb.stabs
@ 2023-01-27 1:30 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-01-27 1:30 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c852f1aeca4106d9bcc5d0cd8c0d595250af7184
commit c852f1aeca4106d9bcc5d0cd8c0d595250af7184
Author: Tom Tromey <tom@tromey.com>
Date: Wed Jan 25 14:41:23 2023 -0700
Use clean_restart in gdb.stabs
Change gdb.stabs to use clean_restart more consistently.
Diff:
---
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]]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-27 1:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-27 1:30 [binutils-gdb] Use clean_restart in gdb.stabs Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).