summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/mips-octeon-bbit.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-25 10:44:25 -0700
committerTom Tromey <tom@tromey.com>2023-01-26 18:28:31 -0700
commit6dbbae3b67883fe33c3010557b2cb16d1e4c278a (patch)
treee016a0d4d2972707eadf76667002039430d5eb22 /gdb/testsuite/gdb.arch/mips-octeon-bbit.exp
parent888438e2b4146f9b1021ea240f78f04975a9d925 (diff)
downloadbinutils-gdb-6dbbae3b67883fe33c3010557b2cb16d1e4c278a.tar.gz
Use clean_restart in gdb.arch
Change gdb.arch to use clean_restart more consistently.
Diffstat (limited to 'gdb/testsuite/gdb.arch/mips-octeon-bbit.exp')
-rw-r--r--gdb/testsuite/gdb.arch/mips-octeon-bbit.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.arch/mips-octeon-bbit.exp b/gdb/testsuite/gdb.arch/mips-octeon-bbit.exp
index 2b00fe14ce0..40cd02946c2 100644
--- a/gdb/testsuite/gdb.arch/mips-octeon-bbit.exp
+++ b/gdb/testsuite/gdb.arch/mips-octeon-bbit.exp
@@ -86,10 +86,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \
pass "compilation"
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
+clean_restart $binfile
# Native needs run.
runto_main