mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
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:
parent
6b68ff1bdf
commit
1d58be2780
@ -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
|
||||
|
||||
@ -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' \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user