gdb/testsuite/

* lib/gdb.exp (skip_unwinder_tests): Remove pass.
This commit is contained in:
Yao Qi 2012-08-24 03:19:58 +00:00
parent 8c56c1b90e
commit e7d50cc9e6
2 changed files with 4 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2012-08-24 Yao Qi <yao@codesourcery.com>
* lib/gdb.exp (skip_unwinder_tests): Remove pass.
2012-08-23 Pedro Alves <palves@redhat.com>
* gdb.base/help.exp: Adjust to "handle" help text change.

View File

@ -2104,23 +2104,17 @@ proc skip_unwinder_tests {} {
set ok 1
gdb_test_multiple "print _Unwind_DebugHook" "check for unwinder hook" {
-re "= .*no debug info.*_Unwind_DebugHook.*\r\n$gdb_prompt $" {
# Pass the test so we don't get bogus fails in the results.
pass "check for unwinder hook"
set ok 0
}
-re "= .*_Unwind_DebugHook.*\r\n$gdb_prompt $" {
pass "check for unwinder hook"
}
-re "No symbol .* in current context.\r\n$gdb_prompt $" {
# Pass the test so we don't get bogus fails in the results.
pass "check for unwinder hook"
set ok 0
}
}
if {!$ok} {
gdb_test_multiple "info probe" "check for stap probe in unwinder" {
-re ".*libgcc.*unwind.*\r\n$gdb_prompt $" {
pass "check for stap probe in unwinder"
set ok 1
}
-re "\r\n$gdb_prompt $" {