exp_continue
     }
     -re "$gdb_prompt $" {
-       if { !$see1 && $see2 && $see3 } then {
+       if {!$see1 && $see2 && $see3} {
            pass "info inferior 2 3"
        } else {
            fail "info inferior 2 3"
        exp_continue
     }
     -re "$gdb_prompt $" {
-       if { $see1 && $see2 && !$see3 } then {
+       if {$see1 && $see2 && !$see3} {
            pass "info inferior 1-2"
        } else {
            fail "info inferior 1-2"
 # Let's run the hello program.
 gdb_test "inferior 1" ".*" "switch to inferior 1 to run it"
 
-if { ![runto_main] } then {
+if {![runto_main]} {
     return -1
 }
 
        exp_continue
     }
     -re "$gdb_prompt $" {
-       if { $see1 && !$see2 && !$see3 } then {
+       if {$see1 && !$see2 && !$see3} {
            pass "check remove-inferiors"
        } else {
            fail "check remove-inferiors"
 
 
 # Until "catch exec" is implemented on other targets...
 #
-if {![istarget "*-linux*"]} then {
+if {![istarget "*-linux*"]} {
     return
 }
 
 
 # Start the program running, and stop at main.
 #
-if ![runto_main] then {
+if {![runto_main]} {
     return
 }
 
 
 
 # Inferior 1 stops at f1.
 
-if ![runto f1] then {
+if {![runto f1]} {
     return 0
 }
 
 
 # Inferior 2 stops at f2.
 
-if ![runto f2] then {
+if {![runto f2]} {
     return 0
 }
 
 
     return -1
 }
 
-if { ![runto_main] } then {
+if {![runto_main]} {
     return -1
 }
 
 
        set from_exec "$first_arch-multi-arch-exec"
 
        clean_restart ${from_exec}
-       if ![runto all_started] then {
+       if {![runto all_started]} {
            return -1
        }
 
 
 # Start inferior 1
 
 clean_restart ${exec1}
-if ![runto_main] then {
+if {![runto_main]} {
     return
 }
 
 gdb_test "inferior 2" "Switching to inferior 2.*" "switch to inferior 2"
 gdb_load ${binfile2}
 
-if ![runto_main] then {
+if {![runto_main]} {
     return
 }
 
 
 
     # Run the steady inferior to a breakpoint, and let it stay stopped
     # there.
-    if ![runto all_started] then {
+    if {![runto all_started]} {
        return 0
     }
 
 
     with_test_prefix "before restart" {
        clean_restart ${testfile}
 
-       if { ![runto_main] } then {
+       if {![runto_main]} {
            return -1
        }
 
 
     with_test_prefix "restart" {
        gdb_continue_to_end
-       if { ![runto_main] } then {
+       if {![runto_main]} {
            return -1
        }
     }
     gdb_test "inferior 2" "Switching to inferior 2 .*" "switch to inferior 2"
     gdb_load ${binfile}
 
-    if ![runto_main] then {
+    if {![runto_main]} {
        return
     }
 
 
     with_test_prefix "restart" {
        gdb_continue_to_end
-       if { ![runto_main] } then {
+       if {![runto_main]} {
            return -1
        }
     }
 
     return -1
 }
 
-if { ![runto_main] } then {
+if {![runto_main]} {
     return -1
 }