diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/sigaltstack.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/sigaltstack.exp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/sigaltstack.exp b/gdb/testsuite/gdb.base/sigaltstack.exp index 869e89f..2779508 100644 --- a/gdb/testsuite/gdb.base/sigaltstack.exp +++ b/gdb/testsuite/gdb.base/sigaltstack.exp @@ -63,8 +63,7 @@ gdb_test "continue" ".* catcher .*" "continue to catch" gdb_test "next" # Full backtrace? -send_gdb "bt\n" -gdb_expect_list "backtrace" ".*$gdb_prompt $" { +gdb_test_sequence "bt" "backtrace" { "\[\r\n\]+.0 \[^\r\n\]* catcher " "\[\r\n\]+.1 .signal handler called." "\[\r\n\]+.2 \[^\r\n\]* thrower .next_level=INNER" @@ -72,7 +71,7 @@ gdb_expect_list "backtrace" ".*$gdb_prompt $" { "\[\r\n\]+.4 .signal handler called." "\[\r\n\]+.5 \[^\r\n\]* thrower .next_level=OUTER" "\[\r\n\]+.6 \[^\r\n\]* catcher " - "\[\r\n\]+.7 \[^\r\n\]* main .*" + "\[\r\n\]+.7 \[^\r\n\]* main " } proc finish_test { pattern msg } { |