Blame SOURCES/0076-xlat-provide-values-to-ptrace_cmds.patch

86f512
From 340e94c8e7da5173f89ea543d86002c762298a8c Mon Sep 17 00:00:00 2001
86f512
From: Eugene Syromyatnikov <evgsyr@gmail.com>
86f512
Date: Tue, 28 Jan 2020 21:29:38 +0100
86f512
Subject: [PATCH 76/76] xlat: provide values to ptrace_cmds
86f512
86f512
Use the output of maint/gen_xlat_defs.sh and perform some re-ordering.
86f512
86f512
* xlat/ptrace_cmds.in: Provide values to constants.
86f512
(PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
86f512
PTRACE_GETFPXREGS, PTRACE_SETFPXREGS, PTRACE_GETHBPREGS,
86f512
PTRACE_SETHBPREGS, PTRACE_GETREGS64, PTRACE_SETREGS64, PTRACE_SYSEMU,
86f512
PTRACE_SYSEMU_SINGLESTEP): Move to arch-specific section.
86f512
(PTRACE_SET_SYSCALL): Move to arm section.
86f512
(PTRACE_GETVRREGS, PTRACE_SETVRREGS): Move to powerpc section.
86f512
(PPC_PTRACE_POKEUSR_3264, PPC_PTRACE_PEEKUSR_3264,
86f512
PPC_PTRACE_POKEDATA_3264, PPC_PTRACE_POKETEXT_3264,
86f512
PPC_PTRACE_PEEKDATA_3264, PPC_PTRACE_PEEKTEXT_3264): Add constants.
86f512
86f512
References: https://bugzilla.redhat.com/show_bug.cgi?id=1758201
86f512
---
86f512
 xlat/ptrace_cmds.in | 437 +++++++++++++++++++++++++++++++++++++++++++++++-----
86f512
 1 file changed, 396 insertions(+), 41 deletions(-)
86f512
86f512
Index: strace-5.1/xlat/ptrace_cmds.in
86f512
===================================================================
86f512
--- strace-5.1.orig/xlat/ptrace_cmds.in	2018-12-13 23:07:26.000000000 +0100
86f512
+++ strace-5.1/xlat/ptrace_cmds.in	2020-01-29 12:41:29.506584730 +0100
86f512
@@ -1,108 +1,463 @@
86f512
-PTRACE_TRACEME
86f512
-PTRACE_PEEKTEXT
86f512
-PTRACE_PEEKDATA
86f512
-PTRACE_PEEKUSER
86f512
-PTRACE_POKETEXT
86f512
-PTRACE_POKEDATA
86f512
-PTRACE_POKEUSER
86f512
-PTRACE_CONT
86f512
-PTRACE_KILL
86f512
-PTRACE_SINGLESTEP
86f512
-PTRACE_ATTACH
86f512
-PTRACE_DETACH
86f512
-PTRACE_SYSCALL
86f512
+/* Generated by maint/gen_xlat_defs.sh -f '#x' -p 'PTRACE_' -c 'linux/ptrace.h' -a 'asm/ptrace*.h' */
86f512
+PTRACE_TRACEME		0
86f512
+PTRACE_PEEKTEXT		0x1
86f512
+PTRACE_PEEKDATA		0x2
86f512
+PTRACE_PEEKUSER		0x3 /* PTRACE_PEEKUSR in kernel headers */
86f512
+PTRACE_POKETEXT		0x4
86f512
+PTRACE_POKEDATA		0x5
86f512
+PTRACE_POKEUSER		0x6 /* PTRACE_POKEUSR in kernel  headers*/
86f512
+PTRACE_CONT		0x7
86f512
+PTRACE_KILL		0x8
86f512
+PTRACE_SINGLESTEP	0x9
86f512
+PTRACE_ATTACH		0x10
86f512
+PTRACE_DETACH		0x11
86f512
+PTRACE_SYSCALL		0x18
86f512
+
86f512
+PTRACE_SETOPTIONS		0x4200
86f512
+PTRACE_GETEVENTMSG		0x4201
86f512
+PTRACE_GETSIGINFO		0x4202
86f512
+PTRACE_SETSIGINFO		0x4203
86f512
+PTRACE_GETREGSET		0x4204
86f512
+PTRACE_SETREGSET		0x4205
86f512
+PTRACE_SEIZE			0x4206
86f512
+PTRACE_INTERRUPT		0x4207
86f512
+PTRACE_LISTEN			0x4208
86f512
+PTRACE_PEEKSIGINFO		0x4209
86f512
+PTRACE_GETSIGMASK		0x420a
86f512
+PTRACE_SETSIGMASK		0x420b
86f512
+PTRACE_SECCOMP_GET_FILTER	0x420c
86f512
+PTRACE_SECCOMP_GET_METADATA	0x420d
86f512
+PTRACE_GET_SYSCALL_INFO		0x420e
86f512
+
86f512
+/* arch-specific */
86f512
+#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__
86f512
+PTRACE_GETREGS		0xc
86f512
+#elif defined __hppa__ || defined __ia64__
86f512
+PTRACE_GETREGS		0x12
86f512
+#else
86f512
 PTRACE_GETREGS
86f512
+#endif
86f512
+
86f512
+#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__
86f512
+PTRACE_SETREGS		0xd
86f512
+#elif defined __hppa__ || defined __ia64__
86f512
+PTRACE_SETREGS		0x13
86f512
+#else
86f512
 PTRACE_SETREGS
86f512
+#endif
86f512
+
86f512
+#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__
86f512
+PTRACE_GETFPREGS	0xe
86f512
+#else
86f512
 PTRACE_GETFPREGS
86f512
+#endif
86f512
+
86f512
+#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__
86f512
+PTRACE_SETFPREGS	0xf
86f512
+#else
86f512
 PTRACE_SETFPREGS
86f512
+#endif
86f512
+
86f512
+#if defined __mips__ || defined __x86_64__ || defined __i386__
86f512
+PTRACE_GETFPXREGS	0x12
86f512
+#else
86f512
 PTRACE_GETFPXREGS
86f512
+#endif
86f512
+
86f512
+#if defined __mips__ || defined __x86_64__ || defined __i386__
86f512
+PTRACE_SETFPXREGS	0x13
86f512
+#else
86f512
 PTRACE_SETFPXREGS
86f512
-PTRACE_GETVRREGS
86f512
-PTRACE_SETVRREGS
86f512
-PTRACE_SETOPTIONS
86f512
-PTRACE_GETEVENTMSG
86f512
-PTRACE_GETSIGINFO
86f512
-PTRACE_SETSIGINFO
86f512
-PTRACE_GETREGSET
86f512
-PTRACE_SETREGSET
86f512
-PTRACE_SET_SYSCALL
86f512
-PTRACE_SEIZE
86f512
-PTRACE_INTERRUPT
86f512
-PTRACE_LISTEN
86f512
-PTRACE_PEEKSIGINFO
86f512
-PTRACE_GETSIGMASK
86f512
-PTRACE_SETSIGMASK
86f512
-PTRACE_SECCOMP_GET_FILTER
86f512
-PTRACE_SECCOMP_GET_METADATA
86f512
-PTRACE_GET_SYSCALL_INFO
86f512
-/* arch-specific */
86f512
+#endif
86f512
+
86f512
+#if defined __xtensa__
86f512
+PTRACE_GETHBPREGS	0x14
86f512
+#elif defined __arm__
86f512
+PTRACE_GETHBPREGS	0x1d
86f512
+#else
86f512
+PTRACE_GETHBPREGS
86f512
+#endif
86f512
+
86f512
+#if defined __xtensa__
86f512
+PTRACE_SETHBPREGS	0x15
86f512
+#elif defined __arm__
86f512
+PTRACE_SETHBPREGS	0x1e
86f512
+#else
86f512
+PTRACE_SETHBPREGS
86f512
+#endif
86f512
+
86f512
+#if defined __arm__ || defined __ia64__ || defined __mips__ || defined __s390__ || defined __x86_64__ || defined __i386__
86f512
+PTRACE_OLDSETOPTIONS	0x15
86f512
+#else
86f512
+PTRACE_OLDSETOPTIONS
86f512
+#endif
86f512
+
86f512
+#if defined __powerpc__ || defined __sparc__
86f512
+PTRACE_GETREGS64	0x16
86f512
+#else
86f512
+PTRACE_GETREGS64
86f512
+#endif
86f512
+#if defined __powerpc__ || defined __sparc__
86f512
+PTRACE_SETREGS64	0x17
86f512
+#else
86f512
+PTRACE_SETREGS64
86f512
+#endif
86f512
+
86f512
+#if defined __arm__ || defined __unicore32__
86f512
+PTRACE_GET_THREAD_AREA	0x16
86f512
+#elif defined __arc__ || defined __m68k__ || defined __mips__ || defined __x86_64__ || defined __i386__
86f512
+PTRACE_GET_THREAD_AREA	0x19
86f512
+#else
86f512
 PTRACE_GET_THREAD_AREA
86f512
+#endif
86f512
+
86f512
+#if defined __mips__ || defined __x86_64__ || defined __i386__
86f512
+PTRACE_SET_THREAD_AREA	0x1a
86f512
+#else
86f512
 PTRACE_SET_THREAD_AREA
86f512
-PTRACE_OLDSETOPTIONS
86f512
+#endif
86f512
+
86f512
+#if defined __arm__ || defined __c6x__ || defined __sh__
86f512
+PTRACE_GETFDPIC	0x1f
86f512
+#else
86f512
 PTRACE_GETFDPIC
86f512
+#endif
86f512
+
86f512
+#if defined __powerpc__
86f512
+PTRACE_SYSEMU	0x1d
86f512
+#elif defined __arm64__ || defined __aarch64__ || defined __x86_64__ || defined __i386__
86f512
+PTRACE_SYSEMU	0x1f
86f512
+#else
86f512
+PTRACE_SYSEMU
86f512
+#endif
86f512
+
86f512
+#if defined __powerpc__
86f512
+PTRACE_SYSEMU_SINGLESTEP	0x1e
86f512
+#elif defined __arm64__ || defined __aarch64__ || defined __x86_64__ || defined __i386__
86f512
+PTRACE_SYSEMU_SINGLESTEP	0x20
86f512
+#else
86f512
+PTRACE_SYSEMU_SINGLESTEP
86f512
+#endif
86f512
+
86f512
+#if defined __hppa__ || defined __ia64__ || defined __s390__
86f512
+PTRACE_SINGLEBLOCK	0xc
86f512
+#elif defined __m68k__ || defined __x86_64__ || defined __i386__
86f512
+PTRACE_SINGLEBLOCK	0x21
86f512
+#elif defined __powerpc__
86f512
+PTRACE_SINGLEBLOCK	0x100
86f512
+#else
86f512
 PTRACE_SINGLEBLOCK
86f512
+#endif
86f512
+
86f512
 /* arm */
86f512
+#if defined __arm__
86f512
+PTRACE_GETWMMXREGS	0x12
86f512
+#else
86f512
 PTRACE_GETWMMXREGS
86f512
+#endif
86f512
+#if defined __arm__
86f512
+PTRACE_SETWMMXREGS	0x13
86f512
+#else
86f512
 PTRACE_SETWMMXREGS
86f512
+#endif
86f512
+#if defined __arm__
86f512
+PTRACE_SET_SYSCALL	0x17
86f512
+#else
86f512
+PTRACE_SET_SYSCALL
86f512
+#endif
86f512
+#if defined __arm__
86f512
+PTRACE_GETCRUNCHREGS	0x19
86f512
+#else
86f512
 PTRACE_GETCRUNCHREGS
86f512
+#endif
86f512
+#if defined __arm__
86f512
+PTRACE_SETCRUNCHREGS	0x1a
86f512
+#else
86f512
 PTRACE_SETCRUNCHREGS
86f512
+#endif
86f512
+#if defined __arm__
86f512
+PTRACE_GETVFPREGS	0x1b
86f512
+#else
86f512
 PTRACE_GETVFPREGS
86f512
+#endif
86f512
+#if defined __arm__
86f512
+PTRACE_SETVFPREGS	0x1c
86f512
+#else
86f512
 PTRACE_SETVFPREGS
86f512
-PTRACE_GETHBPREGS
86f512
-PTRACE_SETHBPREGS
86f512
+#endif
86f512
+
86f512
 /* ia64 */
86f512
+#if defined __ia64__
86f512
+PTRACE_OLD_GETSIGINFO	0xd
86f512
+#else
86f512
 PTRACE_OLD_GETSIGINFO
86f512
+#endif
86f512
+#if defined __ia64__
86f512
+PTRACE_OLD_SETSIGINFO	0xe
86f512
+#else
86f512
 PTRACE_OLD_SETSIGINFO
86f512
+#endif
86f512
+
86f512
 /* mips */
86f512
+#if defined __mips__
86f512
+PTRACE_PEEKTEXT_3264	0xc0
86f512
+#else
86f512
 PTRACE_PEEKTEXT_3264
86f512
+#endif
86f512
+#if defined __mips__
86f512
+PTRACE_PEEKDATA_3264	0xc1
86f512
+#else
86f512
 PTRACE_PEEKDATA_3264
86f512
+#endif
86f512
+#if defined __mips__
86f512
+PTRACE_POKETEXT_3264	0xc2
86f512
+#else
86f512
 PTRACE_POKETEXT_3264
86f512
+#endif
86f512
+#if defined __mips__
86f512
+PTRACE_POKEDATA_3264	0xc3
86f512
+#else
86f512
 PTRACE_POKEDATA_3264
86f512
+#endif
86f512
+#if defined __mips__
86f512
+PTRACE_GET_THREAD_AREA_3264	0xc4
86f512
+#else
86f512
 PTRACE_GET_THREAD_AREA_3264
86f512
+#endif
86f512
+#if defined __mips__
86f512
+PTRACE_GET_WATCH_REGS	0xd0
86f512
+#else
86f512
 PTRACE_GET_WATCH_REGS
86f512
+#endif
86f512
+#if defined __mips__
86f512
+PTRACE_SET_WATCH_REGS	0xd1
86f512
+#else
86f512
 PTRACE_SET_WATCH_REGS
86f512
+#endif
86f512
+
86f512
 /* powerpc */
86f512
+#if defined __powerpc__
86f512
+PTRACE_GETVRREGS	0x12
86f512
+#else
86f512
+PTRACE_GETVRREGS
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PTRACE_SETVRREGS	0x13
86f512
+#else
86f512
+PTRACE_SETVRREGS
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PTRACE_GETEVRREGS	0x14
86f512
+#else
86f512
 PTRACE_GETEVRREGS
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PTRACE_SETEVRREGS	0x15
86f512
+#else
86f512
 PTRACE_SETEVRREGS
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PTRACE_GETVSRREGS	0x1b
86f512
+#else
86f512
 PTRACE_GETVSRREGS
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PTRACE_SETVSRREGS	0x1c
86f512
+#else
86f512
 PTRACE_SETVSRREGS
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PTRACE_GET_DEBUGREG	0x19
86f512
+#else
86f512
 PTRACE_GET_DEBUGREG
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PTRACE_SET_DEBUGREG	0x1a
86f512
+#else
86f512
 PTRACE_SET_DEBUGREG
86f512
-PPC_PTRACE_GETHWDBGINFO
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PPC_PTRACE_DELHWDEBUG	0x87
86f512
+#else
86f512
+
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PPC_PTRACE_SETHWDEBUG	0x88
86f512
+#else
86f512
 PPC_PTRACE_SETHWDEBUG
86f512
-PPC_PTRACE_DELHWDEBUG
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PPC_PTRACE_GETHWDBGINFO	0x89
86f512
+#else
86f512
+PPC_PTRACE_GETHWDBGINFO
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PPC_PTRACE_POKEUSR_3264	0x90
86f512
+#else
86f512
+PPC_PTRACE_POKEUSR_3264
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PPC_PTRACE_PEEKUSR_3264	0x91
86f512
+#else
86f512
+PPC_PTRACE_PEEKUSR_3264
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PPC_PTRACE_POKEDATA_3264	0x92
86f512
+#else
86f512
+PPC_PTRACE_POKEDATA_3264
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PPC_PTRACE_POKETEXT_3264	0x93
86f512
+#else
86f512
+PPC_PTRACE_POKETEXT_3264
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PPC_PTRACE_PEEKDATA_3264	0x94
86f512
+#else
86f512
+PPC_PTRACE_PEEKDATA_3264
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+PPC_PTRACE_PEEKTEXT_3264	0x95
86f512
+#else
86f512
+PPC_PTRACE_PEEKTEXT_3264
86f512
+#endif
86f512
+
86f512
 /* s390 */
86f512
+#if defined __s390__
86f512
+PTRACE_PEEKUSR_AREA	0x5000
86f512
+#else
86f512
 PTRACE_PEEKUSR_AREA
86f512
+#endif
86f512
+#if defined __s390__
86f512
+PTRACE_POKEUSR_AREA	0x5001
86f512
+#else
86f512
 PTRACE_POKEUSR_AREA
86f512
+#endif
86f512
+#if defined __s390__
86f512
+PTRACE_PEEKTEXT_AREA	0x5002
86f512
+#else
86f512
 PTRACE_PEEKTEXT_AREA
86f512
+#endif
86f512
+#if defined __s390__
86f512
+PTRACE_PEEKDATA_AREA	0x5003
86f512
+#else
86f512
 PTRACE_PEEKDATA_AREA
86f512
+#endif
86f512
+#if defined __s390__
86f512
+PTRACE_POKETEXT_AREA	0x5004
86f512
+#else
86f512
 PTRACE_POKETEXT_AREA
86f512
+#endif
86f512
+#if defined __s390__
86f512
+PTRACE_POKEDATA_AREA	0x5005
86f512
+#else
86f512
 PTRACE_POKEDATA_AREA
86f512
+#endif
86f512
+#if defined __s390__
86f512
+PTRACE_GET_LAST_BREAK	0x5006
86f512
+#else
86f512
 PTRACE_GET_LAST_BREAK
86f512
+#endif
86f512
+#if defined __s390__
86f512
+PTRACE_PEEK_SYSTEM_CALL	0x5007
86f512
+#else
86f512
 PTRACE_PEEK_SYSTEM_CALL
86f512
+#endif
86f512
+#if defined __s390__
86f512
+PTRACE_POKE_SYSTEM_CALL	0x5008
86f512
+#else
86f512
 PTRACE_POKE_SYSTEM_CALL
86f512
+#endif
86f512
+#if defined __s390__
86f512
+PTRACE_ENABLE_TE	0x5009
86f512
+#else
86f512
 PTRACE_ENABLE_TE
86f512
+#endif
86f512
+#if defined __s390__
86f512
+PTRACE_DISABLE_TE	0x5010
86f512
+#else
86f512
 PTRACE_DISABLE_TE
86f512
+#endif
86f512
+#if defined __s390__
86f512
+PTRACE_TE_ABORT_RAND	0x5011
86f512
+#else
86f512
 PTRACE_TE_ABORT_RAND
86f512
+#endif
86f512
+
86f512
 /* sh */
86f512
+#if defined __sh__
86f512
+PTRACE_GETDSPREGS	0x37
86f512
+#else
86f512
 PTRACE_GETDSPREGS
86f512
+#endif
86f512
+#if defined __sh__
86f512
+PTRACE_SETDSPREGS	0x38
86f512
+#else
86f512
 PTRACE_SETDSPREGS
86f512
+#endif
86f512
+
86f512
 /* sparc */
86f512
+#if defined __sparc__
86f512
+PTRACE_SPARC_DETACH	0xb
86f512
+#else
86f512
 PTRACE_SPARC_DETACH
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+PTRACE_READDATA	0x10
86f512
+#else
86f512
 PTRACE_READDATA
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+PTRACE_WRITEDATA	0x11
86f512
+#else
86f512
 PTRACE_WRITEDATA
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+PTRACE_READTEXT	0x12
86f512
+#else
86f512
 PTRACE_READTEXT
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+PTRACE_WRITETEXT	0x13
86f512
+#else
86f512
 PTRACE_WRITETEXT
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+PTRACE_GETFPAREGS	0x14
86f512
+#else
86f512
 PTRACE_GETFPAREGS
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+PTRACE_SETFPAREGS	0x15
86f512
+#else
86f512
 PTRACE_SETFPAREGS
86f512
-PTRACE_GETREGS64
86f512
-PTRACE_SETREGS64
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+PTRACE_GETFPREGS64	0x19
86f512
+#else
86f512
 PTRACE_GETFPREGS64
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+PTRACE_SETFPREGS64	0x1a
86f512
+#else
86f512
 PTRACE_SETFPREGS64
86f512
+#endif
86f512
+
86f512
 /* x86 */
86f512
+#if defined __x86_64__ || defined __i386__
86f512
+PTRACE_ARCH_PRCTL	0x1e
86f512
+#else
86f512
 PTRACE_ARCH_PRCTL
86f512
-PTRACE_SYSEMU
86f512
-PTRACE_SYSEMU_SINGLESTEP
86f512
+#endif
86f512
+
86f512
 /* xtensa */
86f512
+#if defined __xtensa__
86f512
+PTRACE_GETXTREGS	0x12
86f512
+#else
86f512
 PTRACE_GETXTREGS
86f512
+#endif
86f512
+#if defined __xtensa__
86f512
+PTRACE_SETXTREGS	0x13
86f512
+#else
86f512
 PTRACE_SETXTREGS
86f512
+#endif
86f512
Index: strace-5.1/xlat/ptrace_cmds.h
86f512
===================================================================
86f512
--- strace-5.1.orig/xlat/ptrace_cmds.h	2019-05-22 15:08:31.000000000 +0200
86f512
+++ strace-5.1/xlat/ptrace_cmds.h	2020-01-29 12:41:37.579506778 +0100
86f512
@@ -3,316 +3,1653 @@
86f512
 #include "gcc_compat.h"
86f512
 #include "static_assert.h"
86f512
 
86f512
-
86f512
-#ifndef XLAT_MACROS_ONLY
86f512
-
86f512
-# ifndef IN_MPERS
86f512
-
86f512
-const struct xlat ptrace_cmds[] = {
86f512
 #if defined(PTRACE_TRACEME) || (defined(HAVE_DECL_PTRACE_TRACEME) && HAVE_DECL_PTRACE_TRACEME)
86f512
-  XLAT(PTRACE_TRACEME),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_TRACEME) == (0), "PTRACE_TRACEME != 0");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_TRACEME 0
86f512
 #endif
86f512
 #if defined(PTRACE_PEEKTEXT) || (defined(HAVE_DECL_PTRACE_PEEKTEXT) && HAVE_DECL_PTRACE_PEEKTEXT)
86f512
-  XLAT(PTRACE_PEEKTEXT),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_PEEKTEXT) == (0x1), "PTRACE_PEEKTEXT != 0x1");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_PEEKTEXT 0x1
86f512
 #endif
86f512
 #if defined(PTRACE_PEEKDATA) || (defined(HAVE_DECL_PTRACE_PEEKDATA) && HAVE_DECL_PTRACE_PEEKDATA)
86f512
-  XLAT(PTRACE_PEEKDATA),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_PEEKDATA) == (0x2), "PTRACE_PEEKDATA != 0x2");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_PEEKDATA 0x2
86f512
 #endif
86f512
 #if defined(PTRACE_PEEKUSER) || (defined(HAVE_DECL_PTRACE_PEEKUSER) && HAVE_DECL_PTRACE_PEEKUSER)
86f512
-  XLAT(PTRACE_PEEKUSER),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_PEEKUSER) == (0x3), "PTRACE_PEEKUSER != 0x3");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_PEEKUSER 0x3
86f512
 #endif
86f512
 #if defined(PTRACE_POKETEXT) || (defined(HAVE_DECL_PTRACE_POKETEXT) && HAVE_DECL_PTRACE_POKETEXT)
86f512
-  XLAT(PTRACE_POKETEXT),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_POKETEXT) == (0x4), "PTRACE_POKETEXT != 0x4");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_POKETEXT 0x4
86f512
 #endif
86f512
 #if defined(PTRACE_POKEDATA) || (defined(HAVE_DECL_PTRACE_POKEDATA) && HAVE_DECL_PTRACE_POKEDATA)
86f512
-  XLAT(PTRACE_POKEDATA),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_POKEDATA) == (0x5), "PTRACE_POKEDATA != 0x5");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_POKEDATA 0x5
86f512
 #endif
86f512
 #if defined(PTRACE_POKEUSER) || (defined(HAVE_DECL_PTRACE_POKEUSER) && HAVE_DECL_PTRACE_POKEUSER)
86f512
-  XLAT(PTRACE_POKEUSER),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_POKEUSER) == (0x6), "PTRACE_POKEUSER != 0x6");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_POKEUSER 0x6
86f512
 #endif
86f512
 #if defined(PTRACE_CONT) || (defined(HAVE_DECL_PTRACE_CONT) && HAVE_DECL_PTRACE_CONT)
86f512
-  XLAT(PTRACE_CONT),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_CONT) == (0x7), "PTRACE_CONT != 0x7");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_CONT 0x7
86f512
 #endif
86f512
 #if defined(PTRACE_KILL) || (defined(HAVE_DECL_PTRACE_KILL) && HAVE_DECL_PTRACE_KILL)
86f512
-  XLAT(PTRACE_KILL),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_KILL) == (0x8), "PTRACE_KILL != 0x8");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_KILL 0x8
86f512
 #endif
86f512
 #if defined(PTRACE_SINGLESTEP) || (defined(HAVE_DECL_PTRACE_SINGLESTEP) && HAVE_DECL_PTRACE_SINGLESTEP)
86f512
-  XLAT(PTRACE_SINGLESTEP),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SINGLESTEP) == (0x9), "PTRACE_SINGLESTEP != 0x9");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SINGLESTEP 0x9
86f512
 #endif
86f512
 #if defined(PTRACE_ATTACH) || (defined(HAVE_DECL_PTRACE_ATTACH) && HAVE_DECL_PTRACE_ATTACH)
86f512
-  XLAT(PTRACE_ATTACH),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_ATTACH) == (0x10), "PTRACE_ATTACH != 0x10");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_ATTACH 0x10
86f512
 #endif
86f512
 #if defined(PTRACE_DETACH) || (defined(HAVE_DECL_PTRACE_DETACH) && HAVE_DECL_PTRACE_DETACH)
86f512
-  XLAT(PTRACE_DETACH),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_DETACH) == (0x11), "PTRACE_DETACH != 0x11");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_DETACH 0x11
86f512
 #endif
86f512
 #if defined(PTRACE_SYSCALL) || (defined(HAVE_DECL_PTRACE_SYSCALL) && HAVE_DECL_PTRACE_SYSCALL)
86f512
-  XLAT(PTRACE_SYSCALL),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SYSCALL) == (0x18), "PTRACE_SYSCALL != 0x18");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SYSCALL 0x18
86f512
+#endif
86f512
+#if defined(PTRACE_SETOPTIONS) || (defined(HAVE_DECL_PTRACE_SETOPTIONS) && HAVE_DECL_PTRACE_SETOPTIONS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETOPTIONS) == (0x4200), "PTRACE_SETOPTIONS != 0x4200");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETOPTIONS 0x4200
86f512
+#endif
86f512
+#if defined(PTRACE_GETEVENTMSG) || (defined(HAVE_DECL_PTRACE_GETEVENTMSG) && HAVE_DECL_PTRACE_GETEVENTMSG)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETEVENTMSG) == (0x4201), "PTRACE_GETEVENTMSG != 0x4201");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETEVENTMSG 0x4201
86f512
+#endif
86f512
+#if defined(PTRACE_GETSIGINFO) || (defined(HAVE_DECL_PTRACE_GETSIGINFO) && HAVE_DECL_PTRACE_GETSIGINFO)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETSIGINFO) == (0x4202), "PTRACE_GETSIGINFO != 0x4202");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETSIGINFO 0x4202
86f512
+#endif
86f512
+#if defined(PTRACE_SETSIGINFO) || (defined(HAVE_DECL_PTRACE_SETSIGINFO) && HAVE_DECL_PTRACE_SETSIGINFO)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETSIGINFO) == (0x4203), "PTRACE_SETSIGINFO != 0x4203");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETSIGINFO 0x4203
86f512
+#endif
86f512
+#if defined(PTRACE_GETREGSET) || (defined(HAVE_DECL_PTRACE_GETREGSET) && HAVE_DECL_PTRACE_GETREGSET)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETREGSET) == (0x4204), "PTRACE_GETREGSET != 0x4204");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETREGSET 0x4204
86f512
+#endif
86f512
+#if defined(PTRACE_SETREGSET) || (defined(HAVE_DECL_PTRACE_SETREGSET) && HAVE_DECL_PTRACE_SETREGSET)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETREGSET) == (0x4205), "PTRACE_SETREGSET != 0x4205");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETREGSET 0x4205
86f512
+#endif
86f512
+#if defined(PTRACE_SEIZE) || (defined(HAVE_DECL_PTRACE_SEIZE) && HAVE_DECL_PTRACE_SEIZE)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SEIZE) == (0x4206), "PTRACE_SEIZE != 0x4206");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SEIZE 0x4206
86f512
+#endif
86f512
+#if defined(PTRACE_INTERRUPT) || (defined(HAVE_DECL_PTRACE_INTERRUPT) && HAVE_DECL_PTRACE_INTERRUPT)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_INTERRUPT) == (0x4207), "PTRACE_INTERRUPT != 0x4207");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_INTERRUPT 0x4207
86f512
+#endif
86f512
+#if defined(PTRACE_LISTEN) || (defined(HAVE_DECL_PTRACE_LISTEN) && HAVE_DECL_PTRACE_LISTEN)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_LISTEN) == (0x4208), "PTRACE_LISTEN != 0x4208");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_LISTEN 0x4208
86f512
+#endif
86f512
+#if defined(PTRACE_PEEKSIGINFO) || (defined(HAVE_DECL_PTRACE_PEEKSIGINFO) && HAVE_DECL_PTRACE_PEEKSIGINFO)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_PEEKSIGINFO) == (0x4209), "PTRACE_PEEKSIGINFO != 0x4209");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_PEEKSIGINFO 0x4209
86f512
+#endif
86f512
+#if defined(PTRACE_GETSIGMASK) || (defined(HAVE_DECL_PTRACE_GETSIGMASK) && HAVE_DECL_PTRACE_GETSIGMASK)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETSIGMASK) == (0x420a), "PTRACE_GETSIGMASK != 0x420a");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETSIGMASK 0x420a
86f512
+#endif
86f512
+#if defined(PTRACE_SETSIGMASK) || (defined(HAVE_DECL_PTRACE_SETSIGMASK) && HAVE_DECL_PTRACE_SETSIGMASK)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETSIGMASK) == (0x420b), "PTRACE_SETSIGMASK != 0x420b");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETSIGMASK 0x420b
86f512
+#endif
86f512
+#if defined(PTRACE_SECCOMP_GET_FILTER) || (defined(HAVE_DECL_PTRACE_SECCOMP_GET_FILTER) && HAVE_DECL_PTRACE_SECCOMP_GET_FILTER)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SECCOMP_GET_FILTER) == (0x420c), "PTRACE_SECCOMP_GET_FILTER != 0x420c");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SECCOMP_GET_FILTER 0x420c
86f512
+#endif
86f512
+#if defined(PTRACE_SECCOMP_GET_METADATA) || (defined(HAVE_DECL_PTRACE_SECCOMP_GET_METADATA) && HAVE_DECL_PTRACE_SECCOMP_GET_METADATA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SECCOMP_GET_METADATA) == (0x420d), "PTRACE_SECCOMP_GET_METADATA != 0x420d");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SECCOMP_GET_METADATA 0x420d
86f512
 #endif
86f512
+#if defined(PTRACE_GET_SYSCALL_INFO) || (defined(HAVE_DECL_PTRACE_GET_SYSCALL_INFO) && HAVE_DECL_PTRACE_GET_SYSCALL_INFO)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GET_SYSCALL_INFO) == (0x420e), "PTRACE_GET_SYSCALL_INFO != 0x420e");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GET_SYSCALL_INFO 0x420e
86f512
+#endif
86f512
+#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__
86f512
 #if defined(PTRACE_GETREGS) || (defined(HAVE_DECL_PTRACE_GETREGS) && HAVE_DECL_PTRACE_GETREGS)
86f512
-  XLAT(PTRACE_GETREGS),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETREGS) == (0xc), "PTRACE_GETREGS != 0xc");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETREGS 0xc
86f512
 #endif
86f512
+#elif defined __hppa__ || defined __ia64__
86f512
+#if defined(PTRACE_GETREGS) || (defined(HAVE_DECL_PTRACE_GETREGS) && HAVE_DECL_PTRACE_GETREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETREGS) == (0x12), "PTRACE_GETREGS != 0x12");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETREGS 0x12
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__
86f512
 #if defined(PTRACE_SETREGS) || (defined(HAVE_DECL_PTRACE_SETREGS) && HAVE_DECL_PTRACE_SETREGS)
86f512
-  XLAT(PTRACE_SETREGS),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETREGS) == (0xd), "PTRACE_SETREGS != 0xd");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETREGS 0xd
86f512
 #endif
86f512
+#elif defined __hppa__ || defined __ia64__
86f512
+#if defined(PTRACE_SETREGS) || (defined(HAVE_DECL_PTRACE_SETREGS) && HAVE_DECL_PTRACE_SETREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETREGS) == (0x13), "PTRACE_SETREGS != 0x13");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETREGS 0x13
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__
86f512
 #if defined(PTRACE_GETFPREGS) || (defined(HAVE_DECL_PTRACE_GETFPREGS) && HAVE_DECL_PTRACE_GETFPREGS)
86f512
-  XLAT(PTRACE_GETFPREGS),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETFPREGS) == (0xe), "PTRACE_GETFPREGS != 0xe");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETFPREGS 0xe
86f512
 #endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__
86f512
 #if defined(PTRACE_SETFPREGS) || (defined(HAVE_DECL_PTRACE_SETFPREGS) && HAVE_DECL_PTRACE_SETFPREGS)
86f512
-  XLAT(PTRACE_SETFPREGS),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETFPREGS) == (0xf), "PTRACE_SETFPREGS != 0xf");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETFPREGS 0xf
86f512
+#endif
86f512
+#else
86f512
 #endif
86f512
+#if defined __mips__ || defined __x86_64__ || defined __i386__
86f512
 #if defined(PTRACE_GETFPXREGS) || (defined(HAVE_DECL_PTRACE_GETFPXREGS) && HAVE_DECL_PTRACE_GETFPXREGS)
86f512
-  XLAT(PTRACE_GETFPXREGS),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETFPXREGS) == (0x12), "PTRACE_GETFPXREGS != 0x12");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETFPXREGS 0x12
86f512
+#endif
86f512
+#else
86f512
 #endif
86f512
+#if defined __mips__ || defined __x86_64__ || defined __i386__
86f512
 #if defined(PTRACE_SETFPXREGS) || (defined(HAVE_DECL_PTRACE_SETFPXREGS) && HAVE_DECL_PTRACE_SETFPXREGS)
86f512
-  XLAT(PTRACE_SETFPXREGS),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETFPXREGS) == (0x13), "PTRACE_SETFPXREGS != 0x13");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETFPXREGS 0x13
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __xtensa__
86f512
+#if defined(PTRACE_GETHBPREGS) || (defined(HAVE_DECL_PTRACE_GETHBPREGS) && HAVE_DECL_PTRACE_GETHBPREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETHBPREGS) == (0x14), "PTRACE_GETHBPREGS != 0x14");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETHBPREGS 0x14
86f512
+#endif
86f512
+#elif defined __arm__
86f512
+#if defined(PTRACE_GETHBPREGS) || (defined(HAVE_DECL_PTRACE_GETHBPREGS) && HAVE_DECL_PTRACE_GETHBPREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETHBPREGS) == (0x1d), "PTRACE_GETHBPREGS != 0x1d");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETHBPREGS 0x1d
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __xtensa__
86f512
+#if defined(PTRACE_SETHBPREGS) || (defined(HAVE_DECL_PTRACE_SETHBPREGS) && HAVE_DECL_PTRACE_SETHBPREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETHBPREGS) == (0x15), "PTRACE_SETHBPREGS != 0x15");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETHBPREGS 0x15
86f512
+#endif
86f512
+#elif defined __arm__
86f512
+#if defined(PTRACE_SETHBPREGS) || (defined(HAVE_DECL_PTRACE_SETHBPREGS) && HAVE_DECL_PTRACE_SETHBPREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETHBPREGS) == (0x1e), "PTRACE_SETHBPREGS != 0x1e");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETHBPREGS 0x1e
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__ || defined __ia64__ || defined __mips__ || defined __s390__ || defined __x86_64__ || defined __i386__
86f512
+#if defined(PTRACE_OLDSETOPTIONS) || (defined(HAVE_DECL_PTRACE_OLDSETOPTIONS) && HAVE_DECL_PTRACE_OLDSETOPTIONS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_OLDSETOPTIONS) == (0x15), "PTRACE_OLDSETOPTIONS != 0x15");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_OLDSETOPTIONS 0x15
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__ || defined __sparc__
86f512
+#if defined(PTRACE_GETREGS64) || (defined(HAVE_DECL_PTRACE_GETREGS64) && HAVE_DECL_PTRACE_GETREGS64)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETREGS64) == (0x16), "PTRACE_GETREGS64 != 0x16");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETREGS64 0x16
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__ || defined __sparc__
86f512
+#if defined(PTRACE_SETREGS64) || (defined(HAVE_DECL_PTRACE_SETREGS64) && HAVE_DECL_PTRACE_SETREGS64)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETREGS64) == (0x17), "PTRACE_SETREGS64 != 0x17");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETREGS64 0x17
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__ || defined __unicore32__
86f512
+#if defined(PTRACE_GET_THREAD_AREA) || (defined(HAVE_DECL_PTRACE_GET_THREAD_AREA) && HAVE_DECL_PTRACE_GET_THREAD_AREA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GET_THREAD_AREA) == (0x16), "PTRACE_GET_THREAD_AREA != 0x16");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GET_THREAD_AREA 0x16
86f512
+#endif
86f512
+#elif defined __arc__ || defined __m68k__ || defined __mips__ || defined __x86_64__ || defined __i386__
86f512
+#if defined(PTRACE_GET_THREAD_AREA) || (defined(HAVE_DECL_PTRACE_GET_THREAD_AREA) && HAVE_DECL_PTRACE_GET_THREAD_AREA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GET_THREAD_AREA) == (0x19), "PTRACE_GET_THREAD_AREA != 0x19");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GET_THREAD_AREA 0x19
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __mips__ || defined __x86_64__ || defined __i386__
86f512
+#if defined(PTRACE_SET_THREAD_AREA) || (defined(HAVE_DECL_PTRACE_SET_THREAD_AREA) && HAVE_DECL_PTRACE_SET_THREAD_AREA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SET_THREAD_AREA) == (0x1a), "PTRACE_SET_THREAD_AREA != 0x1a");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SET_THREAD_AREA 0x1a
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__ || defined __c6x__ || defined __sh__
86f512
+#if defined(PTRACE_GETFDPIC) || (defined(HAVE_DECL_PTRACE_GETFDPIC) && HAVE_DECL_PTRACE_GETFDPIC)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETFDPIC) == (0x1f), "PTRACE_GETFDPIC != 0x1f");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETFDPIC 0x1f
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+#if defined(PTRACE_SYSEMU) || (defined(HAVE_DECL_PTRACE_SYSEMU) && HAVE_DECL_PTRACE_SYSEMU)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SYSEMU) == (0x1d), "PTRACE_SYSEMU != 0x1d");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SYSEMU 0x1d
86f512
+#endif
86f512
+#elif defined __arm64__ || defined __aarch64__ || defined __x86_64__ || defined __i386__
86f512
+#if defined(PTRACE_SYSEMU) || (defined(HAVE_DECL_PTRACE_SYSEMU) && HAVE_DECL_PTRACE_SYSEMU)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SYSEMU) == (0x1f), "PTRACE_SYSEMU != 0x1f");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SYSEMU 0x1f
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+#if defined(PTRACE_SYSEMU_SINGLESTEP) || (defined(HAVE_DECL_PTRACE_SYSEMU_SINGLESTEP) && HAVE_DECL_PTRACE_SYSEMU_SINGLESTEP)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SYSEMU_SINGLESTEP) == (0x1e), "PTRACE_SYSEMU_SINGLESTEP != 0x1e");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SYSEMU_SINGLESTEP 0x1e
86f512
+#endif
86f512
+#elif defined __arm64__ || defined __aarch64__ || defined __x86_64__ || defined __i386__
86f512
+#if defined(PTRACE_SYSEMU_SINGLESTEP) || (defined(HAVE_DECL_PTRACE_SYSEMU_SINGLESTEP) && HAVE_DECL_PTRACE_SYSEMU_SINGLESTEP)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SYSEMU_SINGLESTEP) == (0x20), "PTRACE_SYSEMU_SINGLESTEP != 0x20");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SYSEMU_SINGLESTEP 0x20
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __hppa__ || defined __ia64__ || defined __s390__
86f512
+#if defined(PTRACE_SINGLEBLOCK) || (defined(HAVE_DECL_PTRACE_SINGLEBLOCK) && HAVE_DECL_PTRACE_SINGLEBLOCK)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SINGLEBLOCK) == (0xc), "PTRACE_SINGLEBLOCK != 0xc");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SINGLEBLOCK 0xc
86f512
+#endif
86f512
+#elif defined __m68k__ || defined __x86_64__ || defined __i386__
86f512
+#if defined(PTRACE_SINGLEBLOCK) || (defined(HAVE_DECL_PTRACE_SINGLEBLOCK) && HAVE_DECL_PTRACE_SINGLEBLOCK)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SINGLEBLOCK) == (0x21), "PTRACE_SINGLEBLOCK != 0x21");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SINGLEBLOCK 0x21
86f512
+#endif
86f512
+#elif defined __powerpc__
86f512
+#if defined(PTRACE_SINGLEBLOCK) || (defined(HAVE_DECL_PTRACE_SINGLEBLOCK) && HAVE_DECL_PTRACE_SINGLEBLOCK)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SINGLEBLOCK) == (0x100), "PTRACE_SINGLEBLOCK != 0x100");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SINGLEBLOCK 0x100
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__
86f512
+#if defined(PTRACE_GETWMMXREGS) || (defined(HAVE_DECL_PTRACE_GETWMMXREGS) && HAVE_DECL_PTRACE_GETWMMXREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETWMMXREGS) == (0x12), "PTRACE_GETWMMXREGS != 0x12");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETWMMXREGS 0x12
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__
86f512
+#if defined(PTRACE_SETWMMXREGS) || (defined(HAVE_DECL_PTRACE_SETWMMXREGS) && HAVE_DECL_PTRACE_SETWMMXREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETWMMXREGS) == (0x13), "PTRACE_SETWMMXREGS != 0x13");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETWMMXREGS 0x13
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__
86f512
+#if defined(PTRACE_SET_SYSCALL) || (defined(HAVE_DECL_PTRACE_SET_SYSCALL) && HAVE_DECL_PTRACE_SET_SYSCALL)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SET_SYSCALL) == (0x17), "PTRACE_SET_SYSCALL != 0x17");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SET_SYSCALL 0x17
86f512
 #endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__
86f512
+#if defined(PTRACE_GETCRUNCHREGS) || (defined(HAVE_DECL_PTRACE_GETCRUNCHREGS) && HAVE_DECL_PTRACE_GETCRUNCHREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETCRUNCHREGS) == (0x19), "PTRACE_GETCRUNCHREGS != 0x19");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETCRUNCHREGS 0x19
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__
86f512
+#if defined(PTRACE_SETCRUNCHREGS) || (defined(HAVE_DECL_PTRACE_SETCRUNCHREGS) && HAVE_DECL_PTRACE_SETCRUNCHREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETCRUNCHREGS) == (0x1a), "PTRACE_SETCRUNCHREGS != 0x1a");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETCRUNCHREGS 0x1a
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__
86f512
+#if defined(PTRACE_GETVFPREGS) || (defined(HAVE_DECL_PTRACE_GETVFPREGS) && HAVE_DECL_PTRACE_GETVFPREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETVFPREGS) == (0x1b), "PTRACE_GETVFPREGS != 0x1b");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETVFPREGS 0x1b
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __arm__
86f512
+#if defined(PTRACE_SETVFPREGS) || (defined(HAVE_DECL_PTRACE_SETVFPREGS) && HAVE_DECL_PTRACE_SETVFPREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETVFPREGS) == (0x1c), "PTRACE_SETVFPREGS != 0x1c");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETVFPREGS 0x1c
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __ia64__
86f512
+#if defined(PTRACE_OLD_GETSIGINFO) || (defined(HAVE_DECL_PTRACE_OLD_GETSIGINFO) && HAVE_DECL_PTRACE_OLD_GETSIGINFO)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_OLD_GETSIGINFO) == (0xd), "PTRACE_OLD_GETSIGINFO != 0xd");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_OLD_GETSIGINFO 0xd
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __ia64__
86f512
+#if defined(PTRACE_OLD_SETSIGINFO) || (defined(HAVE_DECL_PTRACE_OLD_SETSIGINFO) && HAVE_DECL_PTRACE_OLD_SETSIGINFO)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_OLD_SETSIGINFO) == (0xe), "PTRACE_OLD_SETSIGINFO != 0xe");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_OLD_SETSIGINFO 0xe
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __mips__
86f512
+#if defined(PTRACE_PEEKTEXT_3264) || (defined(HAVE_DECL_PTRACE_PEEKTEXT_3264) && HAVE_DECL_PTRACE_PEEKTEXT_3264)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_PEEKTEXT_3264) == (0xc0), "PTRACE_PEEKTEXT_3264 != 0xc0");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_PEEKTEXT_3264 0xc0
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __mips__
86f512
+#if defined(PTRACE_PEEKDATA_3264) || (defined(HAVE_DECL_PTRACE_PEEKDATA_3264) && HAVE_DECL_PTRACE_PEEKDATA_3264)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_PEEKDATA_3264) == (0xc1), "PTRACE_PEEKDATA_3264 != 0xc1");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_PEEKDATA_3264 0xc1
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __mips__
86f512
+#if defined(PTRACE_POKETEXT_3264) || (defined(HAVE_DECL_PTRACE_POKETEXT_3264) && HAVE_DECL_PTRACE_POKETEXT_3264)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_POKETEXT_3264) == (0xc2), "PTRACE_POKETEXT_3264 != 0xc2");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_POKETEXT_3264 0xc2
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __mips__
86f512
+#if defined(PTRACE_POKEDATA_3264) || (defined(HAVE_DECL_PTRACE_POKEDATA_3264) && HAVE_DECL_PTRACE_POKEDATA_3264)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_POKEDATA_3264) == (0xc3), "PTRACE_POKEDATA_3264 != 0xc3");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_POKEDATA_3264 0xc3
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __mips__
86f512
+#if defined(PTRACE_GET_THREAD_AREA_3264) || (defined(HAVE_DECL_PTRACE_GET_THREAD_AREA_3264) && HAVE_DECL_PTRACE_GET_THREAD_AREA_3264)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GET_THREAD_AREA_3264) == (0xc4), "PTRACE_GET_THREAD_AREA_3264 != 0xc4");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GET_THREAD_AREA_3264 0xc4
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __mips__
86f512
+#if defined(PTRACE_GET_WATCH_REGS) || (defined(HAVE_DECL_PTRACE_GET_WATCH_REGS) && HAVE_DECL_PTRACE_GET_WATCH_REGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GET_WATCH_REGS) == (0xd0), "PTRACE_GET_WATCH_REGS != 0xd0");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GET_WATCH_REGS 0xd0
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __mips__
86f512
+#if defined(PTRACE_SET_WATCH_REGS) || (defined(HAVE_DECL_PTRACE_SET_WATCH_REGS) && HAVE_DECL_PTRACE_SET_WATCH_REGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SET_WATCH_REGS) == (0xd1), "PTRACE_SET_WATCH_REGS != 0xd1");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SET_WATCH_REGS 0xd1
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
 #if defined(PTRACE_GETVRREGS) || (defined(HAVE_DECL_PTRACE_GETVRREGS) && HAVE_DECL_PTRACE_GETVRREGS)
86f512
-  XLAT(PTRACE_GETVRREGS),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETVRREGS) == (0x12), "PTRACE_GETVRREGS != 0x12");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETVRREGS 0x12
86f512
 #endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
 #if defined(PTRACE_SETVRREGS) || (defined(HAVE_DECL_PTRACE_SETVRREGS) && HAVE_DECL_PTRACE_SETVRREGS)
86f512
-  XLAT(PTRACE_SETVRREGS),
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETVRREGS) == (0x13), "PTRACE_SETVRREGS != 0x13");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETVRREGS 0x13
86f512
 #endif
86f512
-#if defined(PTRACE_SETOPTIONS) || (defined(HAVE_DECL_PTRACE_SETOPTIONS) && HAVE_DECL_PTRACE_SETOPTIONS)
86f512
-  XLAT(PTRACE_SETOPTIONS),
86f512
+#else
86f512
 #endif
86f512
-#if defined(PTRACE_GETEVENTMSG) || (defined(HAVE_DECL_PTRACE_GETEVENTMSG) && HAVE_DECL_PTRACE_GETEVENTMSG)
86f512
-  XLAT(PTRACE_GETEVENTMSG),
86f512
+#if defined __powerpc__
86f512
+#if defined(PTRACE_GETEVRREGS) || (defined(HAVE_DECL_PTRACE_GETEVRREGS) && HAVE_DECL_PTRACE_GETEVRREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETEVRREGS) == (0x14), "PTRACE_GETEVRREGS != 0x14");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETEVRREGS 0x14
86f512
 #endif
86f512
-#if defined(PTRACE_GETSIGINFO) || (defined(HAVE_DECL_PTRACE_GETSIGINFO) && HAVE_DECL_PTRACE_GETSIGINFO)
86f512
-  XLAT(PTRACE_GETSIGINFO),
86f512
+#else
86f512
 #endif
86f512
-#if defined(PTRACE_SETSIGINFO) || (defined(HAVE_DECL_PTRACE_SETSIGINFO) && HAVE_DECL_PTRACE_SETSIGINFO)
86f512
-  XLAT(PTRACE_SETSIGINFO),
86f512
+#if defined __powerpc__
86f512
+#if defined(PTRACE_SETEVRREGS) || (defined(HAVE_DECL_PTRACE_SETEVRREGS) && HAVE_DECL_PTRACE_SETEVRREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETEVRREGS) == (0x15), "PTRACE_SETEVRREGS != 0x15");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETEVRREGS 0x15
86f512
 #endif
86f512
-#if defined(PTRACE_GETREGSET) || (defined(HAVE_DECL_PTRACE_GETREGSET) && HAVE_DECL_PTRACE_GETREGSET)
86f512
-  XLAT(PTRACE_GETREGSET),
86f512
+#else
86f512
 #endif
86f512
-#if defined(PTRACE_SETREGSET) || (defined(HAVE_DECL_PTRACE_SETREGSET) && HAVE_DECL_PTRACE_SETREGSET)
86f512
-  XLAT(PTRACE_SETREGSET),
86f512
+#if defined __powerpc__
86f512
+#if defined(PTRACE_GETVSRREGS) || (defined(HAVE_DECL_PTRACE_GETVSRREGS) && HAVE_DECL_PTRACE_GETVSRREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETVSRREGS) == (0x1b), "PTRACE_GETVSRREGS != 0x1b");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETVSRREGS 0x1b
86f512
 #endif
86f512
-#if defined(PTRACE_SET_SYSCALL) || (defined(HAVE_DECL_PTRACE_SET_SYSCALL) && HAVE_DECL_PTRACE_SET_SYSCALL)
86f512
-  XLAT(PTRACE_SET_SYSCALL),
86f512
+#else
86f512
 #endif
86f512
-#if defined(PTRACE_SEIZE) || (defined(HAVE_DECL_PTRACE_SEIZE) && HAVE_DECL_PTRACE_SEIZE)
86f512
-  XLAT(PTRACE_SEIZE),
86f512
+#if defined __powerpc__
86f512
+#if defined(PTRACE_SETVSRREGS) || (defined(HAVE_DECL_PTRACE_SETVSRREGS) && HAVE_DECL_PTRACE_SETVSRREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETVSRREGS) == (0x1c), "PTRACE_SETVSRREGS != 0x1c");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETVSRREGS 0x1c
86f512
 #endif
86f512
-#if defined(PTRACE_INTERRUPT) || (defined(HAVE_DECL_PTRACE_INTERRUPT) && HAVE_DECL_PTRACE_INTERRUPT)
86f512
-  XLAT(PTRACE_INTERRUPT),
86f512
+#else
86f512
 #endif
86f512
-#if defined(PTRACE_LISTEN) || (defined(HAVE_DECL_PTRACE_LISTEN) && HAVE_DECL_PTRACE_LISTEN)
86f512
-  XLAT(PTRACE_LISTEN),
86f512
+#if defined __powerpc__
86f512
+#if defined(PTRACE_GET_DEBUGREG) || (defined(HAVE_DECL_PTRACE_GET_DEBUGREG) && HAVE_DECL_PTRACE_GET_DEBUGREG)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GET_DEBUGREG) == (0x19), "PTRACE_GET_DEBUGREG != 0x19");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GET_DEBUGREG 0x19
86f512
 #endif
86f512
-#if defined(PTRACE_PEEKSIGINFO) || (defined(HAVE_DECL_PTRACE_PEEKSIGINFO) && HAVE_DECL_PTRACE_PEEKSIGINFO)
86f512
-  XLAT(PTRACE_PEEKSIGINFO),
86f512
+#else
86f512
 #endif
86f512
-#if defined(PTRACE_GETSIGMASK) || (defined(HAVE_DECL_PTRACE_GETSIGMASK) && HAVE_DECL_PTRACE_GETSIGMASK)
86f512
-  XLAT(PTRACE_GETSIGMASK),
86f512
+#if defined __powerpc__
86f512
+#if defined(PTRACE_SET_DEBUGREG) || (defined(HAVE_DECL_PTRACE_SET_DEBUGREG) && HAVE_DECL_PTRACE_SET_DEBUGREG)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SET_DEBUGREG) == (0x1a), "PTRACE_SET_DEBUGREG != 0x1a");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SET_DEBUGREG 0x1a
86f512
 #endif
86f512
-#if defined(PTRACE_SETSIGMASK) || (defined(HAVE_DECL_PTRACE_SETSIGMASK) && HAVE_DECL_PTRACE_SETSIGMASK)
86f512
-  XLAT(PTRACE_SETSIGMASK),
86f512
+#else
86f512
 #endif
86f512
-#if defined(PTRACE_SECCOMP_GET_FILTER) || (defined(HAVE_DECL_PTRACE_SECCOMP_GET_FILTER) && HAVE_DECL_PTRACE_SECCOMP_GET_FILTER)
86f512
-  XLAT(PTRACE_SECCOMP_GET_FILTER),
86f512
+#if defined __powerpc__
86f512
+#if defined(PPC_PTRACE_DELHWDEBUG) || (defined(HAVE_DECL_PPC_PTRACE_DELHWDEBUG) && HAVE_DECL_PPC_PTRACE_DELHWDEBUG)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PPC_PTRACE_DELHWDEBUG) == (0x87), "PPC_PTRACE_DELHWDEBUG != 0x87");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PPC_PTRACE_DELHWDEBUG 0x87
86f512
 #endif
86f512
-#if defined(PTRACE_SECCOMP_GET_METADATA) || (defined(HAVE_DECL_PTRACE_SECCOMP_GET_METADATA) && HAVE_DECL_PTRACE_SECCOMP_GET_METADATA)
86f512
-  XLAT(PTRACE_SECCOMP_GET_METADATA),
86f512
+#else
86f512
 #endif
86f512
-#if defined(PTRACE_GET_SYSCALL_INFO) || (defined(HAVE_DECL_PTRACE_GET_SYSCALL_INFO) && HAVE_DECL_PTRACE_GET_SYSCALL_INFO)
86f512
-  XLAT(PTRACE_GET_SYSCALL_INFO),
86f512
+#if defined __powerpc__
86f512
+#if defined(PPC_PTRACE_SETHWDEBUG) || (defined(HAVE_DECL_PPC_PTRACE_SETHWDEBUG) && HAVE_DECL_PPC_PTRACE_SETHWDEBUG)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PPC_PTRACE_SETHWDEBUG) == (0x88), "PPC_PTRACE_SETHWDEBUG != 0x88");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PPC_PTRACE_SETHWDEBUG 0x88
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+#if defined(PPC_PTRACE_GETHWDBGINFO) || (defined(HAVE_DECL_PPC_PTRACE_GETHWDBGINFO) && HAVE_DECL_PPC_PTRACE_GETHWDBGINFO)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PPC_PTRACE_GETHWDBGINFO) == (0x89), "PPC_PTRACE_GETHWDBGINFO != 0x89");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PPC_PTRACE_GETHWDBGINFO 0x89
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+#if defined(PPC_PTRACE_POKEUSR_3264) || (defined(HAVE_DECL_PPC_PTRACE_POKEUSR_3264) && HAVE_DECL_PPC_PTRACE_POKEUSR_3264)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PPC_PTRACE_POKEUSR_3264) == (0x90), "PPC_PTRACE_POKEUSR_3264 != 0x90");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PPC_PTRACE_POKEUSR_3264 0x90
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+#if defined(PPC_PTRACE_PEEKUSR_3264) || (defined(HAVE_DECL_PPC_PTRACE_PEEKUSR_3264) && HAVE_DECL_PPC_PTRACE_PEEKUSR_3264)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PPC_PTRACE_PEEKUSR_3264) == (0x91), "PPC_PTRACE_PEEKUSR_3264 != 0x91");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PPC_PTRACE_PEEKUSR_3264 0x91
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+#if defined(PPC_PTRACE_POKEDATA_3264) || (defined(HAVE_DECL_PPC_PTRACE_POKEDATA_3264) && HAVE_DECL_PPC_PTRACE_POKEDATA_3264)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PPC_PTRACE_POKEDATA_3264) == (0x92), "PPC_PTRACE_POKEDATA_3264 != 0x92");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PPC_PTRACE_POKEDATA_3264 0x92
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+#if defined(PPC_PTRACE_POKETEXT_3264) || (defined(HAVE_DECL_PPC_PTRACE_POKETEXT_3264) && HAVE_DECL_PPC_PTRACE_POKETEXT_3264)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PPC_PTRACE_POKETEXT_3264) == (0x93), "PPC_PTRACE_POKETEXT_3264 != 0x93");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PPC_PTRACE_POKETEXT_3264 0x93
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+#if defined(PPC_PTRACE_PEEKDATA_3264) || (defined(HAVE_DECL_PPC_PTRACE_PEEKDATA_3264) && HAVE_DECL_PPC_PTRACE_PEEKDATA_3264)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PPC_PTRACE_PEEKDATA_3264) == (0x94), "PPC_PTRACE_PEEKDATA_3264 != 0x94");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PPC_PTRACE_PEEKDATA_3264 0x94
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+#if defined(PPC_PTRACE_PEEKTEXT_3264) || (defined(HAVE_DECL_PPC_PTRACE_PEEKTEXT_3264) && HAVE_DECL_PPC_PTRACE_PEEKTEXT_3264)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PPC_PTRACE_PEEKTEXT_3264) == (0x95), "PPC_PTRACE_PEEKTEXT_3264 != 0x95");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PPC_PTRACE_PEEKTEXT_3264 0x95
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_PEEKUSR_AREA) || (defined(HAVE_DECL_PTRACE_PEEKUSR_AREA) && HAVE_DECL_PTRACE_PEEKUSR_AREA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_PEEKUSR_AREA) == (0x5000), "PTRACE_PEEKUSR_AREA != 0x5000");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_PEEKUSR_AREA 0x5000
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_POKEUSR_AREA) || (defined(HAVE_DECL_PTRACE_POKEUSR_AREA) && HAVE_DECL_PTRACE_POKEUSR_AREA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_POKEUSR_AREA) == (0x5001), "PTRACE_POKEUSR_AREA != 0x5001");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_POKEUSR_AREA 0x5001
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_PEEKTEXT_AREA) || (defined(HAVE_DECL_PTRACE_PEEKTEXT_AREA) && HAVE_DECL_PTRACE_PEEKTEXT_AREA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_PEEKTEXT_AREA) == (0x5002), "PTRACE_PEEKTEXT_AREA != 0x5002");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_PEEKTEXT_AREA 0x5002
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_PEEKDATA_AREA) || (defined(HAVE_DECL_PTRACE_PEEKDATA_AREA) && HAVE_DECL_PTRACE_PEEKDATA_AREA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_PEEKDATA_AREA) == (0x5003), "PTRACE_PEEKDATA_AREA != 0x5003");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_PEEKDATA_AREA 0x5003
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_POKETEXT_AREA) || (defined(HAVE_DECL_PTRACE_POKETEXT_AREA) && HAVE_DECL_PTRACE_POKETEXT_AREA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_POKETEXT_AREA) == (0x5004), "PTRACE_POKETEXT_AREA != 0x5004");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_POKETEXT_AREA 0x5004
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_POKEDATA_AREA) || (defined(HAVE_DECL_PTRACE_POKEDATA_AREA) && HAVE_DECL_PTRACE_POKEDATA_AREA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_POKEDATA_AREA) == (0x5005), "PTRACE_POKEDATA_AREA != 0x5005");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_POKEDATA_AREA 0x5005
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_GET_LAST_BREAK) || (defined(HAVE_DECL_PTRACE_GET_LAST_BREAK) && HAVE_DECL_PTRACE_GET_LAST_BREAK)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GET_LAST_BREAK) == (0x5006), "PTRACE_GET_LAST_BREAK != 0x5006");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GET_LAST_BREAK 0x5006
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_PEEK_SYSTEM_CALL) || (defined(HAVE_DECL_PTRACE_PEEK_SYSTEM_CALL) && HAVE_DECL_PTRACE_PEEK_SYSTEM_CALL)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_PEEK_SYSTEM_CALL) == (0x5007), "PTRACE_PEEK_SYSTEM_CALL != 0x5007");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_PEEK_SYSTEM_CALL 0x5007
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_POKE_SYSTEM_CALL) || (defined(HAVE_DECL_PTRACE_POKE_SYSTEM_CALL) && HAVE_DECL_PTRACE_POKE_SYSTEM_CALL)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_POKE_SYSTEM_CALL) == (0x5008), "PTRACE_POKE_SYSTEM_CALL != 0x5008");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_POKE_SYSTEM_CALL 0x5008
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_ENABLE_TE) || (defined(HAVE_DECL_PTRACE_ENABLE_TE) && HAVE_DECL_PTRACE_ENABLE_TE)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_ENABLE_TE) == (0x5009), "PTRACE_ENABLE_TE != 0x5009");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_ENABLE_TE 0x5009
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_DISABLE_TE) || (defined(HAVE_DECL_PTRACE_DISABLE_TE) && HAVE_DECL_PTRACE_DISABLE_TE)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_DISABLE_TE) == (0x5010), "PTRACE_DISABLE_TE != 0x5010");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_DISABLE_TE 0x5010
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __s390__
86f512
+#if defined(PTRACE_TE_ABORT_RAND) || (defined(HAVE_DECL_PTRACE_TE_ABORT_RAND) && HAVE_DECL_PTRACE_TE_ABORT_RAND)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_TE_ABORT_RAND) == (0x5011), "PTRACE_TE_ABORT_RAND != 0x5011");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_TE_ABORT_RAND 0x5011
86f512
 #endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __sh__
86f512
+#if defined(PTRACE_GETDSPREGS) || (defined(HAVE_DECL_PTRACE_GETDSPREGS) && HAVE_DECL_PTRACE_GETDSPREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETDSPREGS) == (0x37), "PTRACE_GETDSPREGS != 0x37");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETDSPREGS 0x37
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __sh__
86f512
+#if defined(PTRACE_SETDSPREGS) || (defined(HAVE_DECL_PTRACE_SETDSPREGS) && HAVE_DECL_PTRACE_SETDSPREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETDSPREGS) == (0x38), "PTRACE_SETDSPREGS != 0x38");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETDSPREGS 0x38
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+#if defined(PTRACE_SPARC_DETACH) || (defined(HAVE_DECL_PTRACE_SPARC_DETACH) && HAVE_DECL_PTRACE_SPARC_DETACH)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SPARC_DETACH) == (0xb), "PTRACE_SPARC_DETACH != 0xb");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SPARC_DETACH 0xb
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+#if defined(PTRACE_READDATA) || (defined(HAVE_DECL_PTRACE_READDATA) && HAVE_DECL_PTRACE_READDATA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_READDATA) == (0x10), "PTRACE_READDATA != 0x10");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_READDATA 0x10
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+#if defined(PTRACE_WRITEDATA) || (defined(HAVE_DECL_PTRACE_WRITEDATA) && HAVE_DECL_PTRACE_WRITEDATA)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_WRITEDATA) == (0x11), "PTRACE_WRITEDATA != 0x11");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_WRITEDATA 0x11
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+#if defined(PTRACE_READTEXT) || (defined(HAVE_DECL_PTRACE_READTEXT) && HAVE_DECL_PTRACE_READTEXT)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_READTEXT) == (0x12), "PTRACE_READTEXT != 0x12");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_READTEXT 0x12
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+#if defined(PTRACE_WRITETEXT) || (defined(HAVE_DECL_PTRACE_WRITETEXT) && HAVE_DECL_PTRACE_WRITETEXT)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_WRITETEXT) == (0x13), "PTRACE_WRITETEXT != 0x13");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_WRITETEXT 0x13
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+#if defined(PTRACE_GETFPAREGS) || (defined(HAVE_DECL_PTRACE_GETFPAREGS) && HAVE_DECL_PTRACE_GETFPAREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETFPAREGS) == (0x14), "PTRACE_GETFPAREGS != 0x14");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETFPAREGS 0x14
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+#if defined(PTRACE_SETFPAREGS) || (defined(HAVE_DECL_PTRACE_SETFPAREGS) && HAVE_DECL_PTRACE_SETFPAREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETFPAREGS) == (0x15), "PTRACE_SETFPAREGS != 0x15");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETFPAREGS 0x15
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+#if defined(PTRACE_GETFPREGS64) || (defined(HAVE_DECL_PTRACE_GETFPREGS64) && HAVE_DECL_PTRACE_GETFPREGS64)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETFPREGS64) == (0x19), "PTRACE_GETFPREGS64 != 0x19");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETFPREGS64 0x19
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+#if defined(PTRACE_SETFPREGS64) || (defined(HAVE_DECL_PTRACE_SETFPREGS64) && HAVE_DECL_PTRACE_SETFPREGS64)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETFPREGS64) == (0x1a), "PTRACE_SETFPREGS64 != 0x1a");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETFPREGS64 0x1a
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __x86_64__ || defined __i386__
86f512
+#if defined(PTRACE_ARCH_PRCTL) || (defined(HAVE_DECL_PTRACE_ARCH_PRCTL) && HAVE_DECL_PTRACE_ARCH_PRCTL)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_ARCH_PRCTL) == (0x1e), "PTRACE_ARCH_PRCTL != 0x1e");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_ARCH_PRCTL 0x1e
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __xtensa__
86f512
+#if defined(PTRACE_GETXTREGS) || (defined(HAVE_DECL_PTRACE_GETXTREGS) && HAVE_DECL_PTRACE_GETXTREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_GETXTREGS) == (0x12), "PTRACE_GETXTREGS != 0x12");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_GETXTREGS 0x12
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+#if defined __xtensa__
86f512
+#if defined(PTRACE_SETXTREGS) || (defined(HAVE_DECL_PTRACE_SETXTREGS) && HAVE_DECL_PTRACE_SETXTREGS)
86f512
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+static_assert((PTRACE_SETXTREGS) == (0x13), "PTRACE_SETXTREGS != 0x13");
86f512
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86f512
+#else
86f512
+# define PTRACE_SETXTREGS 0x13
86f512
+#endif
86f512
+#else
86f512
+#endif
86f512
+
86f512
+#ifndef XLAT_MACROS_ONLY
86f512
 
86f512
+# ifndef IN_MPERS
86f512
+
86f512
+const struct xlat ptrace_cmds[] = {
86f512
+
86f512
+ XLAT(PTRACE_TRACEME),
86f512
+ XLAT(PTRACE_PEEKTEXT),
86f512
+ XLAT(PTRACE_PEEKDATA),
86f512
+ XLAT(PTRACE_PEEKUSER),
86f512
+ XLAT(PTRACE_POKETEXT),
86f512
+ XLAT(PTRACE_POKEDATA),
86f512
+ XLAT(PTRACE_POKEUSER),
86f512
+ XLAT(PTRACE_CONT),
86f512
+ XLAT(PTRACE_KILL),
86f512
+ XLAT(PTRACE_SINGLESTEP),
86f512
+ XLAT(PTRACE_ATTACH),
86f512
+ XLAT(PTRACE_DETACH),
86f512
+ XLAT(PTRACE_SYSCALL),
86f512
+
86f512
+ XLAT(PTRACE_SETOPTIONS),
86f512
+ XLAT(PTRACE_GETEVENTMSG),
86f512
+ XLAT(PTRACE_GETSIGINFO),
86f512
+ XLAT(PTRACE_SETSIGINFO),
86f512
+ XLAT(PTRACE_GETREGSET),
86f512
+ XLAT(PTRACE_SETREGSET),
86f512
+ XLAT(PTRACE_SEIZE),
86f512
+ XLAT(PTRACE_INTERRUPT),
86f512
+ XLAT(PTRACE_LISTEN),
86f512
+ XLAT(PTRACE_PEEKSIGINFO),
86f512
+ XLAT(PTRACE_GETSIGMASK),
86f512
+ XLAT(PTRACE_SETSIGMASK),
86f512
+ XLAT(PTRACE_SECCOMP_GET_FILTER),
86f512
+ XLAT(PTRACE_SECCOMP_GET_METADATA),
86f512
+ XLAT(PTRACE_GET_SYSCALL_INFO),
86f512
+
86f512
+
86f512
+#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__
86f512
+ XLAT(PTRACE_GETREGS),
86f512
+#elif defined __hppa__ || defined __ia64__
86f512
+ XLAT(PTRACE_GETREGS),
86f512
+#else
86f512
+#if defined(PTRACE_GETREGS) || (defined(HAVE_DECL_PTRACE_GETREGS) && HAVE_DECL_PTRACE_GETREGS)
86f512
+  XLAT(PTRACE_GETREGS),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__
86f512
+ XLAT(PTRACE_SETREGS),
86f512
+#elif defined __hppa__ || defined __ia64__
86f512
+ XLAT(PTRACE_SETREGS),
86f512
+#else
86f512
+#if defined(PTRACE_SETREGS) || (defined(HAVE_DECL_PTRACE_SETREGS) && HAVE_DECL_PTRACE_SETREGS)
86f512
+  XLAT(PTRACE_SETREGS),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__
86f512
+ XLAT(PTRACE_GETFPREGS),
86f512
+#else
86f512
+#if defined(PTRACE_GETFPREGS) || (defined(HAVE_DECL_PTRACE_GETFPREGS) && HAVE_DECL_PTRACE_GETFPREGS)
86f512
+  XLAT(PTRACE_GETFPREGS),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__
86f512
+ XLAT(PTRACE_SETFPREGS),
86f512
+#else
86f512
+#if defined(PTRACE_SETFPREGS) || (defined(HAVE_DECL_PTRACE_SETFPREGS) && HAVE_DECL_PTRACE_SETFPREGS)
86f512
+  XLAT(PTRACE_SETFPREGS),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __mips__ || defined __x86_64__ || defined __i386__
86f512
+ XLAT(PTRACE_GETFPXREGS),
86f512
+#else
86f512
+#if defined(PTRACE_GETFPXREGS) || (defined(HAVE_DECL_PTRACE_GETFPXREGS) && HAVE_DECL_PTRACE_GETFPXREGS)
86f512
+  XLAT(PTRACE_GETFPXREGS),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __mips__ || defined __x86_64__ || defined __i386__
86f512
+ XLAT(PTRACE_SETFPXREGS),
86f512
+#else
86f512
+#if defined(PTRACE_SETFPXREGS) || (defined(HAVE_DECL_PTRACE_SETFPXREGS) && HAVE_DECL_PTRACE_SETFPXREGS)
86f512
+  XLAT(PTRACE_SETFPXREGS),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __xtensa__
86f512
+ XLAT(PTRACE_GETHBPREGS),
86f512
+#elif defined __arm__
86f512
+ XLAT(PTRACE_GETHBPREGS),
86f512
+#else
86f512
+#if defined(PTRACE_GETHBPREGS) || (defined(HAVE_DECL_PTRACE_GETHBPREGS) && HAVE_DECL_PTRACE_GETHBPREGS)
86f512
+  XLAT(PTRACE_GETHBPREGS),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __xtensa__
86f512
+ XLAT(PTRACE_SETHBPREGS),
86f512
+#elif defined __arm__
86f512
+ XLAT(PTRACE_SETHBPREGS),
86f512
+#else
86f512
+#if defined(PTRACE_SETHBPREGS) || (defined(HAVE_DECL_PTRACE_SETHBPREGS) && HAVE_DECL_PTRACE_SETHBPREGS)
86f512
+  XLAT(PTRACE_SETHBPREGS),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __arm__ || defined __ia64__ || defined __mips__ || defined __s390__ || defined __x86_64__ || defined __i386__
86f512
+ XLAT(PTRACE_OLDSETOPTIONS),
86f512
+#else
86f512
+#if defined(PTRACE_OLDSETOPTIONS) || (defined(HAVE_DECL_PTRACE_OLDSETOPTIONS) && HAVE_DECL_PTRACE_OLDSETOPTIONS)
86f512
+  XLAT(PTRACE_OLDSETOPTIONS),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __powerpc__ || defined __sparc__
86f512
+ XLAT(PTRACE_GETREGS64),
86f512
+#else
86f512
+#if defined(PTRACE_GETREGS64) || (defined(HAVE_DECL_PTRACE_GETREGS64) && HAVE_DECL_PTRACE_GETREGS64)
86f512
+  XLAT(PTRACE_GETREGS64),
86f512
+#endif
86f512
+#endif
86f512
+#if defined __powerpc__ || defined __sparc__
86f512
+ XLAT(PTRACE_SETREGS64),
86f512
+#else
86f512
+#if defined(PTRACE_SETREGS64) || (defined(HAVE_DECL_PTRACE_SETREGS64) && HAVE_DECL_PTRACE_SETREGS64)
86f512
+  XLAT(PTRACE_SETREGS64),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __arm__ || defined __unicore32__
86f512
+ XLAT(PTRACE_GET_THREAD_AREA),
86f512
+#elif defined __arc__ || defined __m68k__ || defined __mips__ || defined __x86_64__ || defined __i386__
86f512
+ XLAT(PTRACE_GET_THREAD_AREA),
86f512
+#else
86f512
 #if defined(PTRACE_GET_THREAD_AREA) || (defined(HAVE_DECL_PTRACE_GET_THREAD_AREA) && HAVE_DECL_PTRACE_GET_THREAD_AREA)
86f512
   XLAT(PTRACE_GET_THREAD_AREA),
86f512
 #endif
86f512
+#endif
86f512
+
86f512
+#if defined __mips__ || defined __x86_64__ || defined __i386__
86f512
+ XLAT(PTRACE_SET_THREAD_AREA),
86f512
+#else
86f512
 #if defined(PTRACE_SET_THREAD_AREA) || (defined(HAVE_DECL_PTRACE_SET_THREAD_AREA) && HAVE_DECL_PTRACE_SET_THREAD_AREA)
86f512
   XLAT(PTRACE_SET_THREAD_AREA),
86f512
 #endif
86f512
-#if defined(PTRACE_OLDSETOPTIONS) || (defined(HAVE_DECL_PTRACE_OLDSETOPTIONS) && HAVE_DECL_PTRACE_OLDSETOPTIONS)
86f512
-  XLAT(PTRACE_OLDSETOPTIONS),
86f512
 #endif
86f512
+
86f512
+#if defined __arm__ || defined __c6x__ || defined __sh__
86f512
+ XLAT(PTRACE_GETFDPIC),
86f512
+#else
86f512
 #if defined(PTRACE_GETFDPIC) || (defined(HAVE_DECL_PTRACE_GETFDPIC) && HAVE_DECL_PTRACE_GETFDPIC)
86f512
   XLAT(PTRACE_GETFDPIC),
86f512
 #endif
86f512
+#endif
86f512
+
86f512
+#if defined __powerpc__
86f512
+ XLAT(PTRACE_SYSEMU),
86f512
+#elif defined __arm64__ || defined __aarch64__ || defined __x86_64__ || defined __i386__
86f512
+ XLAT(PTRACE_SYSEMU),
86f512
+#else
86f512
+#if defined(PTRACE_SYSEMU) || (defined(HAVE_DECL_PTRACE_SYSEMU) && HAVE_DECL_PTRACE_SYSEMU)
86f512
+  XLAT(PTRACE_SYSEMU),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __powerpc__
86f512
+ XLAT(PTRACE_SYSEMU_SINGLESTEP),
86f512
+#elif defined __arm64__ || defined __aarch64__ || defined __x86_64__ || defined __i386__
86f512
+ XLAT(PTRACE_SYSEMU_SINGLESTEP),
86f512
+#else
86f512
+#if defined(PTRACE_SYSEMU_SINGLESTEP) || (defined(HAVE_DECL_PTRACE_SYSEMU_SINGLESTEP) && HAVE_DECL_PTRACE_SYSEMU_SINGLESTEP)
86f512
+  XLAT(PTRACE_SYSEMU_SINGLESTEP),
86f512
+#endif
86f512
+#endif
86f512
+
86f512
+#if defined __hppa__ || defined __ia64__ || defined __s390__
86f512
+ XLAT(PTRACE_SINGLEBLOCK),
86f512
+#elif defined __m68k__ || defined __x86_64__ || defined __i386__
86f512
+ XLAT(PTRACE_SINGLEBLOCK),
86f512
+#elif defined __powerpc__
86f512
+ XLAT(PTRACE_SINGLEBLOCK),
86f512
+#else
86f512
 #if defined(PTRACE_SINGLEBLOCK) || (defined(HAVE_DECL_PTRACE_SINGLEBLOCK) && HAVE_DECL_PTRACE_SINGLEBLOCK)
86f512
   XLAT(PTRACE_SINGLEBLOCK),
86f512
 #endif
86f512
+#endif
86f512
+
86f512
 
86f512
+#if defined __arm__
86f512
+ XLAT(PTRACE_GETWMMXREGS),
86f512
+#else
86f512
 #if defined(PTRACE_GETWMMXREGS) || (defined(HAVE_DECL_PTRACE_GETWMMXREGS) && HAVE_DECL_PTRACE_GETWMMXREGS)
86f512
   XLAT(PTRACE_GETWMMXREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __arm__
86f512
+ XLAT(PTRACE_SETWMMXREGS),
86f512
+#else
86f512
 #if defined(PTRACE_SETWMMXREGS) || (defined(HAVE_DECL_PTRACE_SETWMMXREGS) && HAVE_DECL_PTRACE_SETWMMXREGS)
86f512
   XLAT(PTRACE_SETWMMXREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __arm__
86f512
+ XLAT(PTRACE_SET_SYSCALL),
86f512
+#else
86f512
+#if defined(PTRACE_SET_SYSCALL) || (defined(HAVE_DECL_PTRACE_SET_SYSCALL) && HAVE_DECL_PTRACE_SET_SYSCALL)
86f512
+  XLAT(PTRACE_SET_SYSCALL),
86f512
+#endif
86f512
+#endif
86f512
+#if defined __arm__
86f512
+ XLAT(PTRACE_GETCRUNCHREGS),
86f512
+#else
86f512
 #if defined(PTRACE_GETCRUNCHREGS) || (defined(HAVE_DECL_PTRACE_GETCRUNCHREGS) && HAVE_DECL_PTRACE_GETCRUNCHREGS)
86f512
   XLAT(PTRACE_GETCRUNCHREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __arm__
86f512
+ XLAT(PTRACE_SETCRUNCHREGS),
86f512
+#else
86f512
 #if defined(PTRACE_SETCRUNCHREGS) || (defined(HAVE_DECL_PTRACE_SETCRUNCHREGS) && HAVE_DECL_PTRACE_SETCRUNCHREGS)
86f512
   XLAT(PTRACE_SETCRUNCHREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __arm__
86f512
+ XLAT(PTRACE_GETVFPREGS),
86f512
+#else
86f512
 #if defined(PTRACE_GETVFPREGS) || (defined(HAVE_DECL_PTRACE_GETVFPREGS) && HAVE_DECL_PTRACE_GETVFPREGS)
86f512
   XLAT(PTRACE_GETVFPREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __arm__
86f512
+ XLAT(PTRACE_SETVFPREGS),
86f512
+#else
86f512
 #if defined(PTRACE_SETVFPREGS) || (defined(HAVE_DECL_PTRACE_SETVFPREGS) && HAVE_DECL_PTRACE_SETVFPREGS)
86f512
   XLAT(PTRACE_SETVFPREGS),
86f512
 #endif
86f512
-#if defined(PTRACE_GETHBPREGS) || (defined(HAVE_DECL_PTRACE_GETHBPREGS) && HAVE_DECL_PTRACE_GETHBPREGS)
86f512
-  XLAT(PTRACE_GETHBPREGS),
86f512
-#endif
86f512
-#if defined(PTRACE_SETHBPREGS) || (defined(HAVE_DECL_PTRACE_SETHBPREGS) && HAVE_DECL_PTRACE_SETHBPREGS)
86f512
-  XLAT(PTRACE_SETHBPREGS),
86f512
 #endif
86f512
 
86f512
+
86f512
+#if defined __ia64__
86f512
+ XLAT(PTRACE_OLD_GETSIGINFO),
86f512
+#else
86f512
 #if defined(PTRACE_OLD_GETSIGINFO) || (defined(HAVE_DECL_PTRACE_OLD_GETSIGINFO) && HAVE_DECL_PTRACE_OLD_GETSIGINFO)
86f512
   XLAT(PTRACE_OLD_GETSIGINFO),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __ia64__
86f512
+ XLAT(PTRACE_OLD_SETSIGINFO),
86f512
+#else
86f512
 #if defined(PTRACE_OLD_SETSIGINFO) || (defined(HAVE_DECL_PTRACE_OLD_SETSIGINFO) && HAVE_DECL_PTRACE_OLD_SETSIGINFO)
86f512
   XLAT(PTRACE_OLD_SETSIGINFO),
86f512
 #endif
86f512
+#endif
86f512
+
86f512
 
86f512
+#if defined __mips__
86f512
+ XLAT(PTRACE_PEEKTEXT_3264),
86f512
+#else
86f512
 #if defined(PTRACE_PEEKTEXT_3264) || (defined(HAVE_DECL_PTRACE_PEEKTEXT_3264) && HAVE_DECL_PTRACE_PEEKTEXT_3264)
86f512
   XLAT(PTRACE_PEEKTEXT_3264),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __mips__
86f512
+ XLAT(PTRACE_PEEKDATA_3264),
86f512
+#else
86f512
 #if defined(PTRACE_PEEKDATA_3264) || (defined(HAVE_DECL_PTRACE_PEEKDATA_3264) && HAVE_DECL_PTRACE_PEEKDATA_3264)
86f512
   XLAT(PTRACE_PEEKDATA_3264),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __mips__
86f512
+ XLAT(PTRACE_POKETEXT_3264),
86f512
+#else
86f512
 #if defined(PTRACE_POKETEXT_3264) || (defined(HAVE_DECL_PTRACE_POKETEXT_3264) && HAVE_DECL_PTRACE_POKETEXT_3264)
86f512
   XLAT(PTRACE_POKETEXT_3264),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __mips__
86f512
+ XLAT(PTRACE_POKEDATA_3264),
86f512
+#else
86f512
 #if defined(PTRACE_POKEDATA_3264) || (defined(HAVE_DECL_PTRACE_POKEDATA_3264) && HAVE_DECL_PTRACE_POKEDATA_3264)
86f512
   XLAT(PTRACE_POKEDATA_3264),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __mips__
86f512
+ XLAT(PTRACE_GET_THREAD_AREA_3264),
86f512
+#else
86f512
 #if defined(PTRACE_GET_THREAD_AREA_3264) || (defined(HAVE_DECL_PTRACE_GET_THREAD_AREA_3264) && HAVE_DECL_PTRACE_GET_THREAD_AREA_3264)
86f512
   XLAT(PTRACE_GET_THREAD_AREA_3264),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __mips__
86f512
+ XLAT(PTRACE_GET_WATCH_REGS),
86f512
+#else
86f512
 #if defined(PTRACE_GET_WATCH_REGS) || (defined(HAVE_DECL_PTRACE_GET_WATCH_REGS) && HAVE_DECL_PTRACE_GET_WATCH_REGS)
86f512
   XLAT(PTRACE_GET_WATCH_REGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __mips__
86f512
+ XLAT(PTRACE_SET_WATCH_REGS),
86f512
+#else
86f512
 #if defined(PTRACE_SET_WATCH_REGS) || (defined(HAVE_DECL_PTRACE_SET_WATCH_REGS) && HAVE_DECL_PTRACE_SET_WATCH_REGS)
86f512
   XLAT(PTRACE_SET_WATCH_REGS),
86f512
 #endif
86f512
+#endif
86f512
 
86f512
+
86f512
+#if defined __powerpc__
86f512
+ XLAT(PTRACE_GETVRREGS),
86f512
+#else
86f512
+#if defined(PTRACE_GETVRREGS) || (defined(HAVE_DECL_PTRACE_GETVRREGS) && HAVE_DECL_PTRACE_GETVRREGS)
86f512
+  XLAT(PTRACE_GETVRREGS),
86f512
+#endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PTRACE_SETVRREGS),
86f512
+#else
86f512
+#if defined(PTRACE_SETVRREGS) || (defined(HAVE_DECL_PTRACE_SETVRREGS) && HAVE_DECL_PTRACE_SETVRREGS)
86f512
+  XLAT(PTRACE_SETVRREGS),
86f512
+#endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PTRACE_GETEVRREGS),
86f512
+#else
86f512
 #if defined(PTRACE_GETEVRREGS) || (defined(HAVE_DECL_PTRACE_GETEVRREGS) && HAVE_DECL_PTRACE_GETEVRREGS)
86f512
   XLAT(PTRACE_GETEVRREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PTRACE_SETEVRREGS),
86f512
+#else
86f512
 #if defined(PTRACE_SETEVRREGS) || (defined(HAVE_DECL_PTRACE_SETEVRREGS) && HAVE_DECL_PTRACE_SETEVRREGS)
86f512
   XLAT(PTRACE_SETEVRREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PTRACE_GETVSRREGS),
86f512
+#else
86f512
 #if defined(PTRACE_GETVSRREGS) || (defined(HAVE_DECL_PTRACE_GETVSRREGS) && HAVE_DECL_PTRACE_GETVSRREGS)
86f512
   XLAT(PTRACE_GETVSRREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PTRACE_SETVSRREGS),
86f512
+#else
86f512
 #if defined(PTRACE_SETVSRREGS) || (defined(HAVE_DECL_PTRACE_SETVSRREGS) && HAVE_DECL_PTRACE_SETVSRREGS)
86f512
   XLAT(PTRACE_SETVSRREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PTRACE_GET_DEBUGREG),
86f512
+#else
86f512
 #if defined(PTRACE_GET_DEBUGREG) || (defined(HAVE_DECL_PTRACE_GET_DEBUGREG) && HAVE_DECL_PTRACE_GET_DEBUGREG)
86f512
   XLAT(PTRACE_GET_DEBUGREG),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PTRACE_SET_DEBUGREG),
86f512
+#else
86f512
 #if defined(PTRACE_SET_DEBUGREG) || (defined(HAVE_DECL_PTRACE_SET_DEBUGREG) && HAVE_DECL_PTRACE_SET_DEBUGREG)
86f512
   XLAT(PTRACE_SET_DEBUGREG),
86f512
 #endif
86f512
-#if defined(PPC_PTRACE_GETHWDBGINFO) || (defined(HAVE_DECL_PPC_PTRACE_GETHWDBGINFO) && HAVE_DECL_PPC_PTRACE_GETHWDBGINFO)
86f512
-  XLAT(PPC_PTRACE_GETHWDBGINFO),
86f512
 #endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PPC_PTRACE_DELHWDEBUG),
86f512
+#else
86f512
+
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PPC_PTRACE_SETHWDEBUG),
86f512
+#else
86f512
 #if defined(PPC_PTRACE_SETHWDEBUG) || (defined(HAVE_DECL_PPC_PTRACE_SETHWDEBUG) && HAVE_DECL_PPC_PTRACE_SETHWDEBUG)
86f512
   XLAT(PPC_PTRACE_SETHWDEBUG),
86f512
 #endif
86f512
-#if defined(PPC_PTRACE_DELHWDEBUG) || (defined(HAVE_DECL_PPC_PTRACE_DELHWDEBUG) && HAVE_DECL_PPC_PTRACE_DELHWDEBUG)
86f512
-  XLAT(PPC_PTRACE_DELHWDEBUG),
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PPC_PTRACE_GETHWDBGINFO),
86f512
+#else
86f512
+#if defined(PPC_PTRACE_GETHWDBGINFO) || (defined(HAVE_DECL_PPC_PTRACE_GETHWDBGINFO) && HAVE_DECL_PPC_PTRACE_GETHWDBGINFO)
86f512
+  XLAT(PPC_PTRACE_GETHWDBGINFO),
86f512
+#endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PPC_PTRACE_POKEUSR_3264),
86f512
+#else
86f512
+#if defined(PPC_PTRACE_POKEUSR_3264) || (defined(HAVE_DECL_PPC_PTRACE_POKEUSR_3264) && HAVE_DECL_PPC_PTRACE_POKEUSR_3264)
86f512
+  XLAT(PPC_PTRACE_POKEUSR_3264),
86f512
+#endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PPC_PTRACE_PEEKUSR_3264),
86f512
+#else
86f512
+#if defined(PPC_PTRACE_PEEKUSR_3264) || (defined(HAVE_DECL_PPC_PTRACE_PEEKUSR_3264) && HAVE_DECL_PPC_PTRACE_PEEKUSR_3264)
86f512
+  XLAT(PPC_PTRACE_PEEKUSR_3264),
86f512
+#endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PPC_PTRACE_POKEDATA_3264),
86f512
+#else
86f512
+#if defined(PPC_PTRACE_POKEDATA_3264) || (defined(HAVE_DECL_PPC_PTRACE_POKEDATA_3264) && HAVE_DECL_PPC_PTRACE_POKEDATA_3264)
86f512
+  XLAT(PPC_PTRACE_POKEDATA_3264),
86f512
+#endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PPC_PTRACE_POKETEXT_3264),
86f512
+#else
86f512
+#if defined(PPC_PTRACE_POKETEXT_3264) || (defined(HAVE_DECL_PPC_PTRACE_POKETEXT_3264) && HAVE_DECL_PPC_PTRACE_POKETEXT_3264)
86f512
+  XLAT(PPC_PTRACE_POKETEXT_3264),
86f512
+#endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PPC_PTRACE_PEEKDATA_3264),
86f512
+#else
86f512
+#if defined(PPC_PTRACE_PEEKDATA_3264) || (defined(HAVE_DECL_PPC_PTRACE_PEEKDATA_3264) && HAVE_DECL_PPC_PTRACE_PEEKDATA_3264)
86f512
+  XLAT(PPC_PTRACE_PEEKDATA_3264),
86f512
+#endif
86f512
+#endif
86f512
+#if defined __powerpc__
86f512
+ XLAT(PPC_PTRACE_PEEKTEXT_3264),
86f512
+#else
86f512
+#if defined(PPC_PTRACE_PEEKTEXT_3264) || (defined(HAVE_DECL_PPC_PTRACE_PEEKTEXT_3264) && HAVE_DECL_PPC_PTRACE_PEEKTEXT_3264)
86f512
+  XLAT(PPC_PTRACE_PEEKTEXT_3264),
86f512
+#endif
86f512
 #endif
86f512
 
86f512
+
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_PEEKUSR_AREA),
86f512
+#else
86f512
 #if defined(PTRACE_PEEKUSR_AREA) || (defined(HAVE_DECL_PTRACE_PEEKUSR_AREA) && HAVE_DECL_PTRACE_PEEKUSR_AREA)
86f512
   XLAT(PTRACE_PEEKUSR_AREA),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_POKEUSR_AREA),
86f512
+#else
86f512
 #if defined(PTRACE_POKEUSR_AREA) || (defined(HAVE_DECL_PTRACE_POKEUSR_AREA) && HAVE_DECL_PTRACE_POKEUSR_AREA)
86f512
   XLAT(PTRACE_POKEUSR_AREA),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_PEEKTEXT_AREA),
86f512
+#else
86f512
 #if defined(PTRACE_PEEKTEXT_AREA) || (defined(HAVE_DECL_PTRACE_PEEKTEXT_AREA) && HAVE_DECL_PTRACE_PEEKTEXT_AREA)
86f512
   XLAT(PTRACE_PEEKTEXT_AREA),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_PEEKDATA_AREA),
86f512
+#else
86f512
 #if defined(PTRACE_PEEKDATA_AREA) || (defined(HAVE_DECL_PTRACE_PEEKDATA_AREA) && HAVE_DECL_PTRACE_PEEKDATA_AREA)
86f512
   XLAT(PTRACE_PEEKDATA_AREA),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_POKETEXT_AREA),
86f512
+#else
86f512
 #if defined(PTRACE_POKETEXT_AREA) || (defined(HAVE_DECL_PTRACE_POKETEXT_AREA) && HAVE_DECL_PTRACE_POKETEXT_AREA)
86f512
   XLAT(PTRACE_POKETEXT_AREA),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_POKEDATA_AREA),
86f512
+#else
86f512
 #if defined(PTRACE_POKEDATA_AREA) || (defined(HAVE_DECL_PTRACE_POKEDATA_AREA) && HAVE_DECL_PTRACE_POKEDATA_AREA)
86f512
   XLAT(PTRACE_POKEDATA_AREA),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_GET_LAST_BREAK),
86f512
+#else
86f512
 #if defined(PTRACE_GET_LAST_BREAK) || (defined(HAVE_DECL_PTRACE_GET_LAST_BREAK) && HAVE_DECL_PTRACE_GET_LAST_BREAK)
86f512
   XLAT(PTRACE_GET_LAST_BREAK),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_PEEK_SYSTEM_CALL),
86f512
+#else
86f512
 #if defined(PTRACE_PEEK_SYSTEM_CALL) || (defined(HAVE_DECL_PTRACE_PEEK_SYSTEM_CALL) && HAVE_DECL_PTRACE_PEEK_SYSTEM_CALL)
86f512
   XLAT(PTRACE_PEEK_SYSTEM_CALL),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_POKE_SYSTEM_CALL),
86f512
+#else
86f512
 #if defined(PTRACE_POKE_SYSTEM_CALL) || (defined(HAVE_DECL_PTRACE_POKE_SYSTEM_CALL) && HAVE_DECL_PTRACE_POKE_SYSTEM_CALL)
86f512
   XLAT(PTRACE_POKE_SYSTEM_CALL),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_ENABLE_TE),
86f512
+#else
86f512
 #if defined(PTRACE_ENABLE_TE) || (defined(HAVE_DECL_PTRACE_ENABLE_TE) && HAVE_DECL_PTRACE_ENABLE_TE)
86f512
   XLAT(PTRACE_ENABLE_TE),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_DISABLE_TE),
86f512
+#else
86f512
 #if defined(PTRACE_DISABLE_TE) || (defined(HAVE_DECL_PTRACE_DISABLE_TE) && HAVE_DECL_PTRACE_DISABLE_TE)
86f512
   XLAT(PTRACE_DISABLE_TE),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __s390__
86f512
+ XLAT(PTRACE_TE_ABORT_RAND),
86f512
+#else
86f512
 #if defined(PTRACE_TE_ABORT_RAND) || (defined(HAVE_DECL_PTRACE_TE_ABORT_RAND) && HAVE_DECL_PTRACE_TE_ABORT_RAND)
86f512
   XLAT(PTRACE_TE_ABORT_RAND),
86f512
 #endif
86f512
+#endif
86f512
 
86f512
+
86f512
+#if defined __sh__
86f512
+ XLAT(PTRACE_GETDSPREGS),
86f512
+#else
86f512
 #if defined(PTRACE_GETDSPREGS) || (defined(HAVE_DECL_PTRACE_GETDSPREGS) && HAVE_DECL_PTRACE_GETDSPREGS)
86f512
   XLAT(PTRACE_GETDSPREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __sh__
86f512
+ XLAT(PTRACE_SETDSPREGS),
86f512
+#else
86f512
 #if defined(PTRACE_SETDSPREGS) || (defined(HAVE_DECL_PTRACE_SETDSPREGS) && HAVE_DECL_PTRACE_SETDSPREGS)
86f512
   XLAT(PTRACE_SETDSPREGS),
86f512
 #endif
86f512
+#endif
86f512
+
86f512
 
86f512
+#if defined __sparc__
86f512
+ XLAT(PTRACE_SPARC_DETACH),
86f512
+#else
86f512
 #if defined(PTRACE_SPARC_DETACH) || (defined(HAVE_DECL_PTRACE_SPARC_DETACH) && HAVE_DECL_PTRACE_SPARC_DETACH)
86f512
   XLAT(PTRACE_SPARC_DETACH),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+ XLAT(PTRACE_READDATA),
86f512
+#else
86f512
 #if defined(PTRACE_READDATA) || (defined(HAVE_DECL_PTRACE_READDATA) && HAVE_DECL_PTRACE_READDATA)
86f512
   XLAT(PTRACE_READDATA),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+ XLAT(PTRACE_WRITEDATA),
86f512
+#else
86f512
 #if defined(PTRACE_WRITEDATA) || (defined(HAVE_DECL_PTRACE_WRITEDATA) && HAVE_DECL_PTRACE_WRITEDATA)
86f512
   XLAT(PTRACE_WRITEDATA),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+ XLAT(PTRACE_READTEXT),
86f512
+#else
86f512
 #if defined(PTRACE_READTEXT) || (defined(HAVE_DECL_PTRACE_READTEXT) && HAVE_DECL_PTRACE_READTEXT)
86f512
   XLAT(PTRACE_READTEXT),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+ XLAT(PTRACE_WRITETEXT),
86f512
+#else
86f512
 #if defined(PTRACE_WRITETEXT) || (defined(HAVE_DECL_PTRACE_WRITETEXT) && HAVE_DECL_PTRACE_WRITETEXT)
86f512
   XLAT(PTRACE_WRITETEXT),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+ XLAT(PTRACE_GETFPAREGS),
86f512
+#else
86f512
 #if defined(PTRACE_GETFPAREGS) || (defined(HAVE_DECL_PTRACE_GETFPAREGS) && HAVE_DECL_PTRACE_GETFPAREGS)
86f512
   XLAT(PTRACE_GETFPAREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+ XLAT(PTRACE_SETFPAREGS),
86f512
+#else
86f512
 #if defined(PTRACE_SETFPAREGS) || (defined(HAVE_DECL_PTRACE_SETFPAREGS) && HAVE_DECL_PTRACE_SETFPAREGS)
86f512
   XLAT(PTRACE_SETFPAREGS),
86f512
 #endif
86f512
-#if defined(PTRACE_GETREGS64) || (defined(HAVE_DECL_PTRACE_GETREGS64) && HAVE_DECL_PTRACE_GETREGS64)
86f512
-  XLAT(PTRACE_GETREGS64),
86f512
-#endif
86f512
-#if defined(PTRACE_SETREGS64) || (defined(HAVE_DECL_PTRACE_SETREGS64) && HAVE_DECL_PTRACE_SETREGS64)
86f512
-  XLAT(PTRACE_SETREGS64),
86f512
 #endif
86f512
+#if defined __sparc__
86f512
+ XLAT(PTRACE_GETFPREGS64),
86f512
+#else
86f512
 #if defined(PTRACE_GETFPREGS64) || (defined(HAVE_DECL_PTRACE_GETFPREGS64) && HAVE_DECL_PTRACE_GETFPREGS64)
86f512
   XLAT(PTRACE_GETFPREGS64),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __sparc__
86f512
+ XLAT(PTRACE_SETFPREGS64),
86f512
+#else
86f512
 #if defined(PTRACE_SETFPREGS64) || (defined(HAVE_DECL_PTRACE_SETFPREGS64) && HAVE_DECL_PTRACE_SETFPREGS64)
86f512
   XLAT(PTRACE_SETFPREGS64),
86f512
 #endif
86f512
+#endif
86f512
 
86f512
+
86f512
+#if defined __x86_64__ || defined __i386__
86f512
+ XLAT(PTRACE_ARCH_PRCTL),
86f512
+#else
86f512
 #if defined(PTRACE_ARCH_PRCTL) || (defined(HAVE_DECL_PTRACE_ARCH_PRCTL) && HAVE_DECL_PTRACE_ARCH_PRCTL)
86f512
   XLAT(PTRACE_ARCH_PRCTL),
86f512
 #endif
86f512
-#if defined(PTRACE_SYSEMU) || (defined(HAVE_DECL_PTRACE_SYSEMU) && HAVE_DECL_PTRACE_SYSEMU)
86f512
-  XLAT(PTRACE_SYSEMU),
86f512
-#endif
86f512
-#if defined(PTRACE_SYSEMU_SINGLESTEP) || (defined(HAVE_DECL_PTRACE_SYSEMU_SINGLESTEP) && HAVE_DECL_PTRACE_SYSEMU_SINGLESTEP)
86f512
-  XLAT(PTRACE_SYSEMU_SINGLESTEP),
86f512
 #endif
86f512
 
86f512
+
86f512
+#if defined __xtensa__
86f512
+ XLAT(PTRACE_GETXTREGS),
86f512
+#else
86f512
 #if defined(PTRACE_GETXTREGS) || (defined(HAVE_DECL_PTRACE_GETXTREGS) && HAVE_DECL_PTRACE_GETXTREGS)
86f512
   XLAT(PTRACE_GETXTREGS),
86f512
 #endif
86f512
+#endif
86f512
+#if defined __xtensa__
86f512
+ XLAT(PTRACE_SETXTREGS),
86f512
+#else
86f512
 #if defined(PTRACE_SETXTREGS) || (defined(HAVE_DECL_PTRACE_SETXTREGS) && HAVE_DECL_PTRACE_SETXTREGS)
86f512
   XLAT(PTRACE_SETXTREGS),
86f512
 #endif
86f512
+#endif
86f512
  XLAT_END
86f512
 };
86f512