[PATCH] S390: Sync ptrace.h with kernel. [BZ #21539]
Carlos O'Donell
carlos@redhat.com
Tue Jul 18 14:12:00 GMT 2017
On 07/18/2017 09:41 AM, Stefan Liebler wrote:
>> $ gcc -c -xc -o/dev/null - <<'EOF'
>> #include <asm/ptrace.h>
>> #include <sys/ptrace.h>
>> EOF
> Is this order required?
Per the synchronization headers strategy for glibc we try to support *both*
orders for important headers where possible.
https://sourceware.org/glibc/wiki/Synchronizing_Headers
> I've tried it on x86_64 RHEL 7.3:
> In file included from /usr/include/asm/ptrace.h:5:0,
> from <stdin>:1:
> /usr/include/sys/ptrace.h:74:4: error: expected identifier before numeric constant
> PTRACE_GETREGS = 12,
> ^
This is a known issue. It is known that linux/ptrace.h and sys/ptrace.h do not really
work well together. We need to fix it.
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list