glibc 2.3.4 does not appear to define PTRACE_GETSIGINFO. This was

observed on a RHEL5 system on s390. Provide a suitable definition.
Tweak gdbserver_tests/filter_stderr to ignore messages related to
interrupted poll system calls.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14197
This commit is contained in:
Florian Krohm 2014-07-27 12:24:46 +00:00
parent 6b68ff1bdf
commit 1d58be2780
2 changed files with 8 additions and 0 deletions

View File

@ -64,6 +64,13 @@
#include <sys/procfs.h>
#if defined(VGA_s390x)
/* RHEL 5 uses glibc 2.3.4 which does not define PTRACE_GETSIGINFO */
# ifndef PTRACE_GETSIGINFO
# define PTRACE_GETSIGINFO 0x4202
# endif
#endif
#if VEX_HOST_WORDSIZE == 8
typedef Addr64 CORE_ADDR;
#elif VEX_HOST_WORDSIZE == 4

View File

@ -3,6 +3,7 @@
dir=`dirname $0`
$dir/../tests/filter_stderr_basic |
perl -0777 -p -e 's/error 4 Interrupted system call\nVG_\(poll\) failed \(old kernel \?\) retrying .*\n//g' |
sed -e '/^Copyright (C) /d' \
\
-e '/TO DEBUG THIS PROCESS USING GDB/d' \