aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/i386-unwind.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.arch/i386-unwind.exp')
-rw-r--r--gdb/testsuite/gdb.arch/i386-unwind.exp13
1 files changed, 1 insertions, 12 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-unwind.exp b/gdb/testsuite/gdb.arch/i386-unwind.exp
index c329dd6..69f802a 100644
--- a/gdb/testsuite/gdb.arch/i386-unwind.exp
+++ b/gdb/testsuite/gdb.arch/i386-unwind.exp
@@ -46,18 +46,7 @@ gdb_load ${binfile}
# We use gdb_run_cmd so this stands a chance to work for remote
# targets too.
gdb_run_cmd
-
-gdb_expect {
- -re "Program received signal SIGTRAP.*$gdb_prompt $" {
- pass "run past gdb1435"
- }
- -re ".*$gdb_prompt $" {
- fail "run past gdb1435"
- }
- timeout {
- fail "run past gdb1435 (timeout)"
- }
-}
+gdb_test "" "Program received signal SIGTRAP.*" "run past gdb1435"
gdb_test "backtrace 10" \
"#1\[ \t]*$hex in gdb1435.*\r\n#2\[ \t\]*$hex in main.*" \