Index: gdb/testsuite/gdb.reverse/sigall-reverse.exp |
diff --git a/gdb/testsuite/gdb.reverse/sigall-reverse.exp b/gdb/testsuite/gdb.reverse/sigall-reverse.exp |
index 12362def91a5dc09bc1888037c2492c31aba80d9..598e5d4579370fc9e22477697ee5dc31a39f1b68 100644 |
--- a/gdb/testsuite/gdb.reverse/sigall-reverse.exp |
+++ b/gdb/testsuite/gdb.reverse/sigall-reverse.exp |
@@ -22,21 +22,15 @@ if ![supports_reverse] { |
return |
} |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
gdb_exit |
gdb_start |
gdb_reinitialize_dir $srcdir/$subdir |
-set testfile sigall-reverse |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |
- untested ${testfile}.exp |
- return -1 |
+standard_testfile |
+ |
+if {[build_executable $testfile.exp $testfile $srcfile debug] == -1} { |
+ return -1 |
} |
# Make the first signal SIGABRT because it is always supported. |