Use clean_restart in gdb.linespec

Change gdb.linespec to use clean_restart more consistently.
This commit is contained in:
Tom Tromey
2023-01-25 10:13:40 -07:00
parent 836b6c10cd
commit 4eed72400b

View File

@@ -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]} {