diff options
author | Tom Tromey <tromey@redhat.com> | 2012-08-24 15:26:23 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-08-24 15:26:23 +0000 |
commit | 4442ada7ba43cd543e6ceae6f4e81a5a189bbf0c (patch) | |
tree | af3997e998d1da75bf3e6b048f0753871c2a4a81 | |
parent | 3b5e4d350d83138ceae1358f7ce5c6c0168130ba (diff) | |
download | gdb-4442ada7ba43cd543e6ceae6f4e81a5a189bbf0c.zip gdb-4442ada7ba43cd543e6ceae6f4e81a5a189bbf0c.tar.gz gdb-4442ada7ba43cd543e6ceae6f4e81a5a189bbf0c.tar.bz2 |
* lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
gdb_test_multiple fails for other reasons.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a769c14..c78f4fb 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-08-24 Tom Tromey <tromey@redhat.com> + + * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if + gdb_test_multiple fails for other reasons. + 2012-08-24 Yao Qi <yao@codesourcery.com> * lib/gdb.exp (skip_unwinder_tests): Remove pass. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 97e79af..0b4c679 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2101,15 +2101,14 @@ proc skip_hw_watchpoint_access_tests {} { proc skip_unwinder_tests {} { global gdb_prompt - set ok 1 + set ok 0 gdb_test_multiple "print _Unwind_DebugHook" "check for unwinder hook" { -re "= .*no debug info.*_Unwind_DebugHook.*\r\n$gdb_prompt $" { - set ok 0 } -re "= .*_Unwind_DebugHook.*\r\n$gdb_prompt $" { + set ok 1 } -re "No symbol .* in current context.\r\n$gdb_prompt $" { - set ok 0 } } if {!$ok} { |