Index: gdb/testsuite/gdb.threads/sigthread.exp |
diff --git a/gdb/testsuite/gdb.threads/sigthread.exp b/gdb/testsuite/gdb.threads/sigthread.exp |
index d3b491830f443fd772694649927e932d91f2d908..7e9fb0644e017225efa5d16dc655d1ed8c8fa874 100644 |
--- a/gdb/testsuite/gdb.threads/sigthread.exp |
+++ b/gdb/testsuite/gdb.threads/sigthread.exp |
@@ -14,19 +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 sigthread |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile |
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ |
executable { debug }] != "" } { |
return -1 |
} |
-gdb_exit |
-gdb_start |
-gdb_reinitialize_dir $srcdir/$subdir |
-gdb_load ${binfile} |
+clean_restart ${binfile} |
if ![runto_main] then { |
fail "Can't run to main" |