diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/execution-termios.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/execution-termios.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/execution-termios.exp b/gdb/testsuite/gdb.base/execution-termios.exp index 55656be..c817db2 100644 --- a/gdb/testsuite/gdb.base/execution-termios.exp +++ b/gdb/testsuite/gdb.base/execution-termios.exp @@ -24,7 +24,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} { proc test { prefix body } { with_test_prefix $prefix { - if ![runto_main] { + if {![runto_main]} { return 0 } uplevel 1 $body @@ -39,7 +39,7 @@ test "next" { } test "infcall" { - if ![target_info exists gdb,cannot_call_functions] { + if {![target_info exists gdb,cannot_call_functions]} { gdb_test "print func ()" " = 1" "termios ok" } else { unsupported "cannot call functions" |