diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-04-14 14:04:06 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-04-14 14:04:06 +0000 |
commit | 0089057280f5da1c33a5dca95b70caa031fcc3a8 (patch) | |
tree | e7d42ac1ef1aafa3a3e2414d6251525089bd0b21 /gdb/testsuite/gdb.base/attach.exp | |
parent | 877d60f7bc7acb9ca25e8d88963394606e803b9c (diff) | |
download | binutils-gdb-0089057280f5da1c33a5dca95b70caa031fcc3a8.tar.gz |
2003-04-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/attach.exp: Add new message from ptrace in case of
attaching to nonexistent process.
Diffstat (limited to 'gdb/testsuite/gdb.base/attach.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/attach.exp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp index 4019feab43e..c561080f4fe 100644 --- a/gdb/testsuite/gdb.base/attach.exp +++ b/gdb/testsuite/gdb.base/attach.exp @@ -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. |