binutils/
[external/binutils.git] / gdb / testsuite / gdb.threads / thread-unwindonsignal.exp
index a8c91af..5fbf507 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2010, 2011 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -66,8 +66,7 @@ gdb_test "continue" \
 # Do turn on unwindonsignal.
 # We want to test gdb handling of the current thread changing when
 # unwindonsignal is in effect.
-gdb_test "set unwindonsignal on" \
-       "" \
+gdb_test_no_output "set unwindonsignal on" \
        "setting unwindonsignal"
 gdb_test "show unwindonsignal" \
        "Unwinding of stack .* is on." \
@@ -98,7 +97,7 @@ gdb_test_multiple "thread apply all bt" "wrong thread not unwound" {
 
 # Continuing now should exit the hand-call and pop the dummy frame.
 
-gdb_test "continue" "" "finish hand-call"
+gdb_test "continue" ".*" "finish hand-call"
 
 gdb_test_multiple "maint print dummy-frames" "dummy frame popped" {
     -re ".*stack=.*$gdb_prompt $" {
@@ -111,7 +110,6 @@ gdb_test_multiple "maint print dummy-frames" "dummy frame popped" {
 
 # Continue one last time, the program should exit normally.
 
-gdb_test "continue" "Program exited normally." \
-    "continue to program exit"
+gdb_continue_to_end "" continue 1
 
 return 0