http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61021
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I have been only testing back to RHEL5, which has glibc 2.5 and glibc 2.5 has PTRACE_{S,G}ETSIGINFO. Given that there is a conditional already for PTRACE_{S,G}ETREGSET which has been added later than this one, I'd say the patch is better than adding the stuff to the include/ headers GCC libsanitizer owns.