diff options
Diffstat (limited to 'gdb/testsuite/lib/gdb-guile.exp')
-rw-r--r-- | gdb/testsuite/lib/gdb-guile.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/lib/gdb-guile.exp b/gdb/testsuite/lib/gdb-guile.exp index 776dbc6..9205312 100644 --- a/gdb/testsuite/lib/gdb-guile.exp +++ b/gdb/testsuite/lib/gdb-guile.exp @@ -37,7 +37,7 @@ proc gdb_scm_test_silent_cmd { cmd name {report_pass 1} } { -re "Backtrace.*$gdb_prompt $" { fail $name } -re "ERROR.*$gdb_prompt $" { fail $name } -re "Undefined command: .*$gdb_prompt $" { fail $name } - -re "$gdb_prompt $" { if $report_pass { pass $name } } + -re "$gdb_prompt $" { if {$report_pass} { pass $name } } } } @@ -85,7 +85,7 @@ proc gdb_install_guile_module { } { # The result is the same as for runto_main. proc gdb_guile_runto_main { } { - if ![runto_main] { + if {![runto_main]} { return 0 } |