* gdb.base/attach.exp (do_attach_tests): Don't forget to kill second

attach process.
This commit is contained in:
Corinna Vinschen 2004-06-25 13:52:20 +00:00
parent c05cbf1a71
commit e19f872c5b
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-06-25 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
attach process.
2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-1553.exp: Remove.

View File

@ -1,4 +1,4 @@
# Copyright 1997, 1999, 2002 Free Software Foundation, Inc.
# Copyright 1997, 1999, 2002, 2004 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -355,6 +355,9 @@ proc do_attach_tests {} {
-re "$gdb_prompt $" {fail "after attach3, exit"}
timeout {fail "(timeout) after attach3, exit"}
}
# Another "don't leave a process around"
remote_exec build "kill -9 ${testpid}"
}
proc do_call_attach_tests {} {