* gdb.threads/killed.exp: Use gdb_run_cmd.
This commit is contained in:
parent
7d605576a6
commit
d1d69fdd54
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-10-13 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* gdb.threads/killed.exp: Use gdb_run_cmd.
|
||||
|
||||
2003-10-13 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
|
||||
|
|
|
@ -75,7 +75,15 @@ gdb_start
|
|||
gdb_reinitialize_dir $srcdir/$subdir
|
||||
gdb_load ${binfile}
|
||||
|
||||
gdb_test "run" "" "run program to completion"
|
||||
gdb_run_cmd
|
||||
gdb_expect {
|
||||
-re "$gdb_prompt $" {
|
||||
pass "run program to completion"
|
||||
}
|
||||
timeout "$gdb_prompt $" {
|
||||
fail "run program to completion (timeout)"
|
||||
}
|
||||
}
|
||||
|
||||
# Try to quit.
|
||||
send_gdb "quit\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue