Index: gdb/testsuite/gdb.base/hook-stop-continue.exp |
diff --git a/gdb/testsuite/gdb.base/hook-stop-continue.exp b/gdb/testsuite/gdb.base/hook-stop-continue.exp |
index de1a63f679aae84b6834cfcf6a9b940a73502c0d..26f2cf998e87cd803d6be71fd4d6517b851f3521 100644 |
--- a/gdb/testsuite/gdb.base/hook-stop-continue.exp |
+++ b/gdb/testsuite/gdb.base/hook-stop-continue.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2008-2012 Free Software Foundation, Inc. |
+# Copyright 2008-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -13,19 +13,12 @@ |
# 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 "hook-stop-continue" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile .c |
if { [prepare_for_testing ${testfile}.exp "${testfile}" "${testfile}.c" {debug nowarnings}] } { |
return -1 |
} |
-gdb_exit |
-gdb_start |
-gdb_reinitialize_dir $srcdir/$subdir |
-gdb_load ${binfile} |
- |
if ![runto_main] then { |
perror "Couldn't run to main" |
} |