Index: gdb/testsuite/gdb.threads/multi-create.exp |
diff --git a/gdb/testsuite/gdb.threads/multi-create.exp b/gdb/testsuite/gdb.threads/multi-create.exp |
index ed5cb301309c83c24969e45da1e7f0e3c5cef5ec..7d1f3eae80b286114e3ce247af62edb8cda1c1c7 100644 |
--- a/gdb/testsuite/gdb.threads/multi-create.exp |
+++ b/gdb/testsuite/gdb.threads/multi-create.exp |
@@ -14,18 +14,14 @@ |
# You should have received a copy of the GNU General Public License |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
-set testfile "multi-create" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile |
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ |
executable {debug}] != "" } { |
return -1 |
} |
-gdb_start |
-gdb_reinitialize_dir $srcdir/$subdir |
-gdb_load ${binfile} |
+clean_restart ${binfile} |
runto_main |
# Run to the beginning of create_function several times. Make sure |