diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-11-23 19:30:52 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-11-23 19:30:52 +0000 |
commit | b0e1598abf1865841f65457bf5143f4501b8d073 (patch) | |
tree | ec6268b7c77acd19a88adb65c03bcfc03cf60d0d | |
parent | 66c5728963bf98343883dc40b3988bf41b702f4c (diff) | |
download | binutils-b0e1598abf1865841f65457bf5143f4501b8d073.zip binutils-b0e1598abf1865841f65457bf5143f4501b8d073.tar.gz binutils-b0e1598abf1865841f65457bf5143f4501b8d073.tar.bz2 |
* gdb.arch/i386-unwind.exp: Don't use runto_main. Change
"continue" into "run".
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | 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 5f76285..27f40de 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. 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.*" \ |