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.exp12
1 files changed, 2 insertions, 10 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-unwind.exp b/gdb/testsuite/gdb.arch/i386-unwind.exp
index c700ab4..fa01a8d 100644
--- a/gdb/testsuite/gdb.arch/i386-unwind.exp
+++ b/gdb/testsuite/gdb.arch/i386-unwind.exp
@@ -45,18 +45,10 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
-#
-# Run to `main' where we begin our tests.
-#
-
-if ![runto_main] then {
- gdb_suppress_tests
-}
-
# Testcase for backtrace/1435.
-gdb_test "continue" "Program received signal SIGTRAP.*" \
- "continue past gdb1435"
+gdb_test "run" "Program received signal SIGTRAP.*" \
+ "run past gdb1435"
gdb_test "backtrace 10" \
"#1\[ \t]*$hex in gdb1435.*\r\n#2\[ \t\]*$hex in main.*" \