* gdb.base/display.exp: Don't kill running stub. Add "again" to
the second kill and detach messages.
This commit is contained in:
parent
930764990d
commit
1aca8eb7fa
@ -1,3 +1,8 @@
|
||||
2000-11-17 Nick Duffek <nsd@redhat.com>
|
||||
|
||||
* gdb.base/display.exp: Don't kill running stub. Add "again" to
|
||||
the second kill and detach messages.
|
||||
|
||||
2000-11-17 Nick Duffek <nsd@redhat.com>
|
||||
|
||||
* configure.in: Add AC_EXEEXT.
|
||||
|
@ -49,22 +49,23 @@ gdb_load ${binfile}
|
||||
|
||||
# Some coverage stuff
|
||||
#
|
||||
gdb_test "kill" ".*The program is not being run.*"
|
||||
gdb_test "detach" ".*"
|
||||
gdb_test "run" ".*"
|
||||
if ![target_info exists use_gdb_stub] {
|
||||
gdb_test "kill" ".*The program is not being run.*"
|
||||
gdb_test "detach" ".*"
|
||||
gdb_test "run" ".*"
|
||||
|
||||
gdb_load ${binfile}
|
||||
gdb_test "kill" ".*"
|
||||
gdb_test "detach" ".*"
|
||||
gdb_load ${binfile}
|
||||
gdb_test "kill" ".*" "kill again"
|
||||
gdb_test "detach" ".*" "detach again"
|
||||
|
||||
gdb_exit
|
||||
gdb_start
|
||||
gdb_reinitialize_dir $srcdir/$subdir
|
||||
gdb_load ${binfile}
|
||||
}
|
||||
|
||||
# Ok, on to real life
|
||||
#
|
||||
|
||||
gdb_exit
|
||||
gdb_start
|
||||
gdb_reinitialize_dir $srcdir/$subdir
|
||||
gdb_load ${binfile}
|
||||
|
||||
if ![runto_main] then {
|
||||
fail "Could not run to main - other tests will fail."
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user