]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.arch/e500-prologue.exp
Use clean_restart in gdb.arch
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.arch / e500-prologue.exp
index 7c32d9dd5b07daa77672b18ff546df590e97b971..82898d98aa9eb59d3e46fcf7e50043d4720fc42b 100644 (file)
@@ -27,10 +27,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] !
     return -1
 }
 
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
+clean_restart $binfile
 
 # Insert a breakpoint in FUNCTION and verifies that the breakpoint was
 # inserted at the expected location.  EXPECTED_LOCATION should be an