- (dtucker) [regress/agent-ptrace.sh] Make ttrace gdb error a little more

general to cover newer gdb versions on HP-UX.
This commit is contained in:
Darren Tucker 2007-03-03 09:42:23 +11:00
parent aef5beef12
commit 90a58fdf22
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
20070303
- (dtucker) [regress/agent-ptrace.sh] Make ttrace gdb error a little more
general to cover newer gdb versions on HP-UX.
20070302 20070302
- (dtucker) [configure.ac] For Cygwin, read files in textmode (which allows - (dtucker) [configure.ac] For Cygwin, read files in textmode (which allows
CRLF as well as LF lineendings) and write in binary mode. Patch from CRLF as well as LF lineendings) and write in binary mode. Patch from
@ -2790,4 +2794,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@ passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.4628 2007/03/02 06:53:41 dtucker Exp $ $Id: ChangeLog,v 1.4629 2007/03/02 22:42:23 dtucker Exp $

View File

@ -41,7 +41,7 @@ EOF
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
fail "gdb failed: exit code $?" fail "gdb failed: exit code $?"
fi fi
egrep 'ptrace: Operation not permitted.|procfs:.*Permission denied.|ttrace attach: Permission denied.|procfs:.*: Invalid argument.' >/dev/null ${OBJ}/gdb.out egrep 'ptrace: Operation not permitted.|procfs:.*Permission denied.|ttrace.*Permission denied.|procfs:.*: Invalid argument.' >/dev/null ${OBJ}/gdb.out
r=$? r=$?
rm -f ${OBJ}/gdb.out rm -f ${OBJ}/gdb.out
if [ $r -ne 0 ]; then if [ $r -ne 0 ]; then