From b0e1598abf1865841f65457bf5143f4501b8d073 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 23 Nov 2003 19:30:52 +0000 Subject: [PATCH] * gdb.arch/i386-unwind.exp: Don't use runto_main. Change "continue" into "run". --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.arch/i386-unwind.exp | 12 ++---------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5f762853202..27f40deefb3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-11-23 Mark Kettenis + + * gdb.arch/i386-unwind.exp: Don't use runto_main. Change + "continue" into "run". + 2003-11-23 Michael Chastain Partial fix for PR testsuite/1456. diff --git a/gdb/testsuite/gdb.arch/i386-unwind.exp b/gdb/testsuite/gdb.arch/i386-unwind.exp index c700ab4ee36..fa01a8d092c 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.*" \