[PATCH] Linux x86/x86_64: <sys/ptrace.h> does not provide some request constants [BZ #22433]
Joseph Myers
joseph@codesourcery.com
Wed Dec 20 22:50:00 GMT 2017
On Wed, 20 Dec 2017, Martin Balao wrote:
> * sysdeps/unix/sysv/linux/x86_64/sys/ptrace.h: New file.
> Constants added: PTRACE_GET_THREAD_AREA,
> PTRACE_SET_THREAD_AREA,
> PTRACE_ARCH_PRCTL, PTRACE_SYSEMU and PTRACE_SYSEMU_SINGLESTEP.
There must never be any installed headers specific to x86_64 or i386,
because headers installed for one multilib configuration may be used for
all three. Thus, you need a single header for x86, and if there are any
differences between x86_64 (64-bit), x86_64 (x32) and i386, that header
must contain appropriate conditionals.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list