]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.ada/taft_type.exp
[testsuite/gdb.ada] simplify some testcases by using clean_restart.
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.ada / taft_type.exp
index c872aca825e4276f20cce85f9476dea287d11a7f..0e3036e1fa43bbe49f329a2e8df8a5e208386404 100644 (file)
@@ -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}
 
 set bp_location [gdb_get_line_number "START" ${testdir}/p.adb]
 if ![runto "p.adb:$bp_location" ] then {