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