public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Use clean_restart in gdb.linespec
@ 2023-01-27  1:29 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-01-27  1:29 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4eed72400bd6e71ab0c6bbd1dd8035171d60390d

commit 4eed72400bd6e71ab0c6bbd1dd8035171d60390d
Author: Tom Tromey <tom@tromey.com>
Date:   Wed Jan 25 10:13:40 2023 -0700

    Use clean_restart in gdb.linespec
    
    Change gdb.linespec to use clean_restart more consistently.

Diff:
---
 gdb/testsuite/gdb.linespec/explicit.exp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gdb/testsuite/gdb.linespec/explicit.exp b/gdb/testsuite/gdb.linespec/explicit.exp
index 637470e6763..b08d65953d2 100644
--- a/gdb/testsuite/gdb.linespec/explicit.exp
+++ b/gdb/testsuite/gdb.linespec/explicit.exp
@@ -594,9 +594,7 @@ namespace eval $testfile {
     }
 
     # Test interaction of condition command and explicit linespec conditons.
-    gdb_exit
-    gdb_start
-    gdb_load [standard_output_file $exefile]
+    clean_restart [standard_output_file $exefile]
 
     set tst "condition_command overrides explicit linespec condition"
     if {![runto_main]} {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-27  1:29 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:29 [binutils-gdb] Use clean_restart in gdb.linespec 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).