* gdb.arch/i386-unwind.exp: Don't use runto_main. Change
"continue" into "run".
This commit is contained in:
parent
66c5728963
commit
b0e1598abf
2 changed files with 7 additions and 10 deletions
|
@ -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>
|
2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
Partial fix for PR testsuite/1456.
|
Partial fix for PR testsuite/1456.
|
||||||
|
|
|
@ -45,18 +45,10 @@ gdb_start
|
||||||
gdb_reinitialize_dir $srcdir/$subdir
|
gdb_reinitialize_dir $srcdir/$subdir
|
||||||
gdb_load ${binfile}
|
gdb_load ${binfile}
|
||||||
|
|
||||||
#
|
|
||||||
# Run to `main' where we begin our tests.
|
|
||||||
#
|
|
||||||
|
|
||||||
if ![runto_main] then {
|
|
||||||
gdb_suppress_tests
|
|
||||||
}
|
|
||||||
|
|
||||||
# Testcase for backtrace/1435.
|
# Testcase for backtrace/1435.
|
||||||
|
|
||||||
gdb_test "continue" "Program received signal SIGTRAP.*" \
|
gdb_test "run" "Program received signal SIGTRAP.*" \
|
||||||
"continue past gdb1435"
|
"run past gdb1435"
|
||||||
|
|
||||||
gdb_test "backtrace 10" \
|
gdb_test "backtrace 10" \
|
||||||
"#1\[ \t]*$hex in gdb1435.*\r\n#2\[ \t\]*$hex in main.*" \
|
"#1\[ \t]*$hex in gdb1435.*\r\n#2\[ \t\]*$hex in main.*" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue