diff options
Diffstat (limited to 'gdb/testsuite/gdb.multi/tids-gid-reset.exp')
-rw-r--r-- | gdb/testsuite/gdb.multi/tids-gid-reset.exp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.multi/tids-gid-reset.exp b/gdb/testsuite/gdb.multi/tids-gid-reset.exp index 6cab573..27474b1 100644 --- a/gdb/testsuite/gdb.multi/tids-gid-reset.exp +++ b/gdb/testsuite/gdb.multi/tids-gid-reset.exp @@ -31,7 +31,7 @@ with_test_prefix "single-inferior" { with_test_prefix "before restart" { clean_restart ${testfile} - if { ![runto_main] } then { + if {![runto_main]} { return -1 } @@ -40,7 +40,7 @@ with_test_prefix "single-inferior" { with_test_prefix "restart" { gdb_continue_to_end - if { ![runto_main] } then { + if {![runto_main]} { return -1 } } @@ -66,7 +66,7 @@ with_test_prefix "multi-inferior" { gdb_test "inferior 2" "Switching to inferior 2 .*" "switch to inferior 2" gdb_load ${binfile} - if ![runto_main] then { + if {![runto_main]} { return } @@ -82,7 +82,7 @@ with_test_prefix "multi-inferior" { with_test_prefix "restart" { gdb_continue_to_end - if { ![runto_main] } then { + if {![runto_main]} { return -1 } } |