aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-25 10:13:40 -0700
committerTom Tromey <tom@tromey.com>2023-01-26 18:28:31 -0700
commit4eed72400bd6e71ab0c6bbd1dd8035171d60390d (patch)
tree415579dabec1771eb6a6b0ce189fe68142b374e3
parent836b6c10cd4b48c2729f91685a795050eae39f4f (diff)
downloadbinutils-4eed72400bd6e71ab0c6bbd1dd8035171d60390d.zip
binutils-4eed72400bd6e71ab0c6bbd1dd8035171d60390d.tar.gz
binutils-4eed72400bd6e71ab0c6bbd1dd8035171d60390d.tar.bz2
Use clean_restart in gdb.linespec
Change gdb.linespec to use clean_restart more consistently.
-rw-r--r--gdb/testsuite/gdb.linespec/explicit.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.linespec/explicit.exp b/gdb/testsuite/gdb.linespec/explicit.exp
index 637470e..b08d659 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]} {