diff options
-rw-r--r-- | gdb/testsuite/lib/gdb-python.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb-python.exp b/gdb/testsuite/lib/gdb-python.exp index e27d5c1..a820c87 100644 --- a/gdb/testsuite/lib/gdb-python.exp +++ b/gdb/testsuite/lib/gdb-python.exp @@ -22,6 +22,7 @@ proc gdb_py_test_silent_cmd { cmd name report_pass } { global gdb_prompt gdb_test_multiple $cmd $name { + -re "Error occurred in Python:.*$gdb_prompt $" { fail $name } -re "Traceback.*$gdb_prompt $" { fail $name } -re "$gdb_prompt $" { if $report_pass { pass $name } } } |