mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-04 07:44:22 +08:00
* lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
gdb_test_multiple fails for other reasons.
This commit is contained in:
parent
3b5e4d350d
commit
4442ada7ba
@ -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.
|
||||
|
@ -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} {
|
||||
|
Loading…
Reference in New Issue
Block a user