|
From: Patrick J. L. <lop...@gm...> - 2014-09-16 00:27:25
|
On Mon, Sep 15, 2014 at 4:52 PM, Tom Hughes <to...@co...> wrote: > > So I think the original diagnosis stands, that the C library is too old to > know about this flag. Fair enough. In which case Valgrind's conditional should perhaps be on __GLIBC__ / __GLIBC_MINOR__ rather than VGA_s390x? I can confirm PTRACE_GETSIGINFO and PTRACE_SETSIGINFO are present in sys/ptrace.h for all architectures (including s390) as of glibc 2.5 but not 2.4. Well, except for ia64, where they were added a little earlier (2.3). Since Valgrind does not (yet) support ia64, (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 4) -- suitably negated -- should do the trick... - Pat |