aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp')
-rw-r--r--gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp b/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp
index e94c875..9ddcd58 100644
--- a/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp
+++ b/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp
@@ -34,7 +34,7 @@ clean_restart ${binfile}
gdb_test_no_output "set can-use-hw-watchpoints 1" ""
-if ![runto_main] then {
+if {![runto_main]} {
return
}