2003-04-14 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 14 Apr 2003 14:04:06 +0000 (14:04 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 14 Apr 2003 14:04:06 +0000 (14:04 +0000)
        * gdb.base/attach.exp: Add new message from ptrace in case of
        attaching to nonexistent process.

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

index 0bd7b3558985d6b38d81db145edc97b2dbea1922..cf15071e40dd5e161c933fe17e7a8f23f968f9cb 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
+
+        * gdb.base/attach.exp: Add new message from ptrace in case of
+        attaching to nonexistent process.
+       
 2003-04-11  Jim Blandy  <jimb@redhat.com>
 
        * gdb.c++/derivation.exp, gdb.c++/overload.exp,
index 4019feab43e313f0bfb1606b0f88cfb5887fd3df..c561080f4feb8597b3a419431e2ae0707f245f4e 100644 (file)
@@ -123,6 +123,8 @@ proc do_attach_tests {} {
                       }
       -re "Attaching to.*, process 0.*denied.*$gdb_prompt $"\
                       {pass "attach to nonexistent process is prohibited"}
+      -re "Attaching to.*, process 0.*Operation not permitted.*$gdb_prompt $"\
+                      {pass "attach to nonexistent process is prohibited"}
       -re "Attaching to.*, process .*couldn't open /proc file.*$gdb_prompt $"\
                       {
                         # Response expected from /proc-based systems.