aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/step-over-syscall.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/step-over-syscall.exp')
-rw-r--r--gdb/testsuite/gdb.base/step-over-syscall.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/step-over-syscall.exp b/gdb/testsuite/gdb.base/step-over-syscall.exp
index 9df716d..e4425a1 100644
--- a/gdb/testsuite/gdb.base/step-over-syscall.exp
+++ b/gdb/testsuite/gdb.base/step-over-syscall.exp
@@ -227,7 +227,7 @@ proc step_over_syscall { syscall } {
lappend options "pthreads"
}
- if [build_executable ${testfile}.exp ${testfile} ${testfile}.c $options] {
+ if {[build_executable ${testfile}.exp ${testfile} ${testfile}.c $options]} {
untested "failed to compile"
return -1
}