]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.ada/ptype_tagged_param.exp
[testsuite/gdb.ada] simplify some testcases by using clean_restart.
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.ada / ptype_tagged_param.exp
index e85d528d96b9eb902784de2209af02d7729f3491..2ac2acdca56960f50560c6f6555e51c6a8622616 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}
 
 if ![runto "position_x" ] then {
   return -1