aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-25 14:41:39 -0700
committerTom Tromey <tom@tromey.com>2023-01-26 18:28:32 -0700
commit5ae820f38ffab179b3cee09c0d6fa54c58aa0fa4 (patch)
tree80b6244e7f767cb1e6cc4c6659c1ec6be39e7f1b /gdb
parentc852f1aeca4106d9bcc5d0cd8c0d595250af7184 (diff)
downloadgdb-5ae820f38ffab179b3cee09c0d6fa54c58aa0fa4.zip
gdb-5ae820f38ffab179b3cee09c0d6fa54c58aa0fa4.tar.gz
gdb-5ae820f38ffab179b3cee09c0d6fa54c58aa0fa4.tar.bz2
Use clean_restart in gdb.go
Change gdb.go to use clean_restart more consistently.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.go/print.exp6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.go/print.exp b/gdb/testsuite/gdb.go/print.exp
index 893fa30..8fcbf12 100644
--- a/gdb/testsuite/gdb.go/print.exp
+++ b/gdb/testsuite/gdb.go/print.exp
@@ -56,11 +56,7 @@ proc test_float_rejected {} {
test_print_reject "p 1.1ll"
}
-# Start with a fresh gdb.
-
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
+clean_restart
if [set_lang_go] {
test_float_accepted