From 4eed72400bd6e71ab0c6bbd1dd8035171d60390d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 25 Jan 2023 10:13:40 -0700 Subject: [PATCH] Use clean_restart in gdb.linespec Change gdb.linespec to use clean_restart more consistently. --- 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]} { -- 2.30.2