* gdb.arch/i386-unwind.exp: Don't use runto_main. Change
authorMark Kettenis <kettenis@gnu.org>
Sun, 23 Nov 2003 19:30:52 +0000 (19:30 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 23 Nov 2003 19:30:52 +0000 (19:30 +0000)
"continue" into "run".

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/i386-unwind.exp

index 5f76285..27f40de 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-23  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
+       "continue" into "run".
+
 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
 
        Partial fix for PR testsuite/1456.
index c700ab4..fa01a8d 100644 (file)
@@ -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.*" \