* gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 25 Jun 2004 13:52:20 +0000 (13:52 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 25 Jun 2004 13:52:20 +0000 (13:52 +0000)
attach process.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/attach.exp

index 23e4ff1e050919885c6b8fc0abde1936da24711a..88c91301c055a2ea0a0e4b4573a3fc2aef0a6137 100644 (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.
index ea11087f8af91d4045150989ca041eb38bf06de8..67d40ee39a278c67a638106e323d7511669fd549 100644 (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 {} {
This page took 0.030904 seconds and 4 git commands to generate.