aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/fun_addr.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/fun_addr.exp')
-rw-r--r--gdb/testsuite/gdb.ada/fun_addr.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.ada/fun_addr.exp b/gdb/testsuite/gdb.ada/fun_addr.exp
index a8e23da..6f962f2 100644
--- a/gdb/testsuite/gdb.ada/fun_addr.exp
+++ b/gdb/testsuite/gdb.ada/fun_addr.exp
@@ -29,10 +29,7 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" }
return -1
}
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
+clean_restart ${testfile}
# Verify that we are able to print the address of a function when
# the inferior is *not* running (no frame).