xref: /aosp_15_r20/external/strace/xlat/ptrace_cmds.h (revision cf84ac9a129d8ea9952db616b4e9b904c4bdde56)
1*cf84ac9aSAndroid Build Coastguard Worker /* Generated by ./xlat/gen.sh from ./xlat/ptrace_cmds.in; do not edit. */
2*cf84ac9aSAndroid Build Coastguard Worker 
3*cf84ac9aSAndroid Build Coastguard Worker #include "gcc_compat.h"
4*cf84ac9aSAndroid Build Coastguard Worker #include "static_assert.h"
5*cf84ac9aSAndroid Build Coastguard Worker 
6*cf84ac9aSAndroid Build Coastguard Worker 
7*cf84ac9aSAndroid Build Coastguard Worker #ifndef XLAT_MACROS_ONLY
8*cf84ac9aSAndroid Build Coastguard Worker 
9*cf84ac9aSAndroid Build Coastguard Worker # ifdef IN_MPERS
10*cf84ac9aSAndroid Build Coastguard Worker 
11*cf84ac9aSAndroid Build Coastguard Worker #  error static const struct xlat ptrace_cmds in mpers mode
12*cf84ac9aSAndroid Build Coastguard Worker 
13*cf84ac9aSAndroid Build Coastguard Worker # else
14*cf84ac9aSAndroid Build Coastguard Worker 
15*cf84ac9aSAndroid Build Coastguard Worker static
16*cf84ac9aSAndroid Build Coastguard Worker const struct xlat ptrace_cmds[] = {
17*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_TRACEME) || (defined(HAVE_DECL_PTRACE_TRACEME) && HAVE_DECL_PTRACE_TRACEME)
18*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_TRACEME),
19*cf84ac9aSAndroid Build Coastguard Worker #endif
20*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_PEEKTEXT) || (defined(HAVE_DECL_PTRACE_PEEKTEXT) && HAVE_DECL_PTRACE_PEEKTEXT)
21*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_PEEKTEXT),
22*cf84ac9aSAndroid Build Coastguard Worker #endif
23*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_PEEKDATA) || (defined(HAVE_DECL_PTRACE_PEEKDATA) && HAVE_DECL_PTRACE_PEEKDATA)
24*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_PEEKDATA),
25*cf84ac9aSAndroid Build Coastguard Worker #endif
26*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_PEEKUSER) || (defined(HAVE_DECL_PTRACE_PEEKUSER) && HAVE_DECL_PTRACE_PEEKUSER)
27*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_PEEKUSER),
28*cf84ac9aSAndroid Build Coastguard Worker #endif
29*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_POKETEXT) || (defined(HAVE_DECL_PTRACE_POKETEXT) && HAVE_DECL_PTRACE_POKETEXT)
30*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_POKETEXT),
31*cf84ac9aSAndroid Build Coastguard Worker #endif
32*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_POKEDATA) || (defined(HAVE_DECL_PTRACE_POKEDATA) && HAVE_DECL_PTRACE_POKEDATA)
33*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_POKEDATA),
34*cf84ac9aSAndroid Build Coastguard Worker #endif
35*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_POKEUSER) || (defined(HAVE_DECL_PTRACE_POKEUSER) && HAVE_DECL_PTRACE_POKEUSER)
36*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_POKEUSER),
37*cf84ac9aSAndroid Build Coastguard Worker #endif
38*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_CONT) || (defined(HAVE_DECL_PTRACE_CONT) && HAVE_DECL_PTRACE_CONT)
39*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_CONT),
40*cf84ac9aSAndroid Build Coastguard Worker #endif
41*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_KILL) || (defined(HAVE_DECL_PTRACE_KILL) && HAVE_DECL_PTRACE_KILL)
42*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_KILL),
43*cf84ac9aSAndroid Build Coastguard Worker #endif
44*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SINGLESTEP) || (defined(HAVE_DECL_PTRACE_SINGLESTEP) && HAVE_DECL_PTRACE_SINGLESTEP)
45*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SINGLESTEP),
46*cf84ac9aSAndroid Build Coastguard Worker #endif
47*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_ATTACH) || (defined(HAVE_DECL_PTRACE_ATTACH) && HAVE_DECL_PTRACE_ATTACH)
48*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_ATTACH),
49*cf84ac9aSAndroid Build Coastguard Worker #endif
50*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_DETACH) || (defined(HAVE_DECL_PTRACE_DETACH) && HAVE_DECL_PTRACE_DETACH)
51*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_DETACH),
52*cf84ac9aSAndroid Build Coastguard Worker #endif
53*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SYSCALL) || (defined(HAVE_DECL_PTRACE_SYSCALL) && HAVE_DECL_PTRACE_SYSCALL)
54*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SYSCALL),
55*cf84ac9aSAndroid Build Coastguard Worker #endif
56*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETREGS) || (defined(HAVE_DECL_PTRACE_GETREGS) && HAVE_DECL_PTRACE_GETREGS)
57*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETREGS),
58*cf84ac9aSAndroid Build Coastguard Worker #endif
59*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETREGS) || (defined(HAVE_DECL_PTRACE_SETREGS) && HAVE_DECL_PTRACE_SETREGS)
60*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETREGS),
61*cf84ac9aSAndroid Build Coastguard Worker #endif
62*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETFPREGS) || (defined(HAVE_DECL_PTRACE_GETFPREGS) && HAVE_DECL_PTRACE_GETFPREGS)
63*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETFPREGS),
64*cf84ac9aSAndroid Build Coastguard Worker #endif
65*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETFPREGS) || (defined(HAVE_DECL_PTRACE_SETFPREGS) && HAVE_DECL_PTRACE_SETFPREGS)
66*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETFPREGS),
67*cf84ac9aSAndroid Build Coastguard Worker #endif
68*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETFPXREGS) || (defined(HAVE_DECL_PTRACE_GETFPXREGS) && HAVE_DECL_PTRACE_GETFPXREGS)
69*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETFPXREGS),
70*cf84ac9aSAndroid Build Coastguard Worker #endif
71*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETFPXREGS) || (defined(HAVE_DECL_PTRACE_SETFPXREGS) && HAVE_DECL_PTRACE_SETFPXREGS)
72*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETFPXREGS),
73*cf84ac9aSAndroid Build Coastguard Worker #endif
74*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETVRREGS) || (defined(HAVE_DECL_PTRACE_GETVRREGS) && HAVE_DECL_PTRACE_GETVRREGS)
75*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETVRREGS),
76*cf84ac9aSAndroid Build Coastguard Worker #endif
77*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETVRREGS) || (defined(HAVE_DECL_PTRACE_SETVRREGS) && HAVE_DECL_PTRACE_SETVRREGS)
78*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETVRREGS),
79*cf84ac9aSAndroid Build Coastguard Worker #endif
80*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETOPTIONS) || (defined(HAVE_DECL_PTRACE_SETOPTIONS) && HAVE_DECL_PTRACE_SETOPTIONS)
81*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETOPTIONS),
82*cf84ac9aSAndroid Build Coastguard Worker #endif
83*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETEVENTMSG) || (defined(HAVE_DECL_PTRACE_GETEVENTMSG) && HAVE_DECL_PTRACE_GETEVENTMSG)
84*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETEVENTMSG),
85*cf84ac9aSAndroid Build Coastguard Worker #endif
86*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETSIGINFO) || (defined(HAVE_DECL_PTRACE_GETSIGINFO) && HAVE_DECL_PTRACE_GETSIGINFO)
87*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETSIGINFO),
88*cf84ac9aSAndroid Build Coastguard Worker #endif
89*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETSIGINFO) || (defined(HAVE_DECL_PTRACE_SETSIGINFO) && HAVE_DECL_PTRACE_SETSIGINFO)
90*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETSIGINFO),
91*cf84ac9aSAndroid Build Coastguard Worker #endif
92*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETREGSET) || (defined(HAVE_DECL_PTRACE_GETREGSET) && HAVE_DECL_PTRACE_GETREGSET)
93*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETREGSET),
94*cf84ac9aSAndroid Build Coastguard Worker #endif
95*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETREGSET) || (defined(HAVE_DECL_PTRACE_SETREGSET) && HAVE_DECL_PTRACE_SETREGSET)
96*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETREGSET),
97*cf84ac9aSAndroid Build Coastguard Worker #endif
98*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SET_SYSCALL) || (defined(HAVE_DECL_PTRACE_SET_SYSCALL) && HAVE_DECL_PTRACE_SET_SYSCALL)
99*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SET_SYSCALL),
100*cf84ac9aSAndroid Build Coastguard Worker #endif
101*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SEIZE) || (defined(HAVE_DECL_PTRACE_SEIZE) && HAVE_DECL_PTRACE_SEIZE)
102*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SEIZE),
103*cf84ac9aSAndroid Build Coastguard Worker #endif
104*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_INTERRUPT) || (defined(HAVE_DECL_PTRACE_INTERRUPT) && HAVE_DECL_PTRACE_INTERRUPT)
105*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_INTERRUPT),
106*cf84ac9aSAndroid Build Coastguard Worker #endif
107*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_LISTEN) || (defined(HAVE_DECL_PTRACE_LISTEN) && HAVE_DECL_PTRACE_LISTEN)
108*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_LISTEN),
109*cf84ac9aSAndroid Build Coastguard Worker #endif
110*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_PEEKSIGINFO) || (defined(HAVE_DECL_PTRACE_PEEKSIGINFO) && HAVE_DECL_PTRACE_PEEKSIGINFO)
111*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_PEEKSIGINFO),
112*cf84ac9aSAndroid Build Coastguard Worker #endif
113*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETSIGMASK) || (defined(HAVE_DECL_PTRACE_GETSIGMASK) && HAVE_DECL_PTRACE_GETSIGMASK)
114*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETSIGMASK),
115*cf84ac9aSAndroid Build Coastguard Worker #endif
116*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETSIGMASK) || (defined(HAVE_DECL_PTRACE_SETSIGMASK) && HAVE_DECL_PTRACE_SETSIGMASK)
117*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETSIGMASK),
118*cf84ac9aSAndroid Build Coastguard Worker #endif
119*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SECCOMP_GET_FILTER) || (defined(HAVE_DECL_PTRACE_SECCOMP_GET_FILTER) && HAVE_DECL_PTRACE_SECCOMP_GET_FILTER)
120*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SECCOMP_GET_FILTER),
121*cf84ac9aSAndroid Build Coastguard Worker #endif
122*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SECCOMP_GET_METADATA) || (defined(HAVE_DECL_PTRACE_SECCOMP_GET_METADATA) && HAVE_DECL_PTRACE_SECCOMP_GET_METADATA)
123*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SECCOMP_GET_METADATA),
124*cf84ac9aSAndroid Build Coastguard Worker #endif
125*cf84ac9aSAndroid Build Coastguard Worker 
126*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GET_THREAD_AREA) || (defined(HAVE_DECL_PTRACE_GET_THREAD_AREA) && HAVE_DECL_PTRACE_GET_THREAD_AREA)
127*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GET_THREAD_AREA),
128*cf84ac9aSAndroid Build Coastguard Worker #endif
129*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SET_THREAD_AREA) || (defined(HAVE_DECL_PTRACE_SET_THREAD_AREA) && HAVE_DECL_PTRACE_SET_THREAD_AREA)
130*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SET_THREAD_AREA),
131*cf84ac9aSAndroid Build Coastguard Worker #endif
132*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_OLDSETOPTIONS) || (defined(HAVE_DECL_PTRACE_OLDSETOPTIONS) && HAVE_DECL_PTRACE_OLDSETOPTIONS)
133*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_OLDSETOPTIONS),
134*cf84ac9aSAndroid Build Coastguard Worker #endif
135*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETFDPIC) || (defined(HAVE_DECL_PTRACE_GETFDPIC) && HAVE_DECL_PTRACE_GETFDPIC)
136*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETFDPIC),
137*cf84ac9aSAndroid Build Coastguard Worker #endif
138*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SINGLEBLOCK) || (defined(HAVE_DECL_PTRACE_SINGLEBLOCK) && HAVE_DECL_PTRACE_SINGLEBLOCK)
139*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SINGLEBLOCK),
140*cf84ac9aSAndroid Build Coastguard Worker #endif
141*cf84ac9aSAndroid Build Coastguard Worker 
142*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETWMMXREGS) || (defined(HAVE_DECL_PTRACE_GETWMMXREGS) && HAVE_DECL_PTRACE_GETWMMXREGS)
143*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETWMMXREGS),
144*cf84ac9aSAndroid Build Coastguard Worker #endif
145*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETWMMXREGS) || (defined(HAVE_DECL_PTRACE_SETWMMXREGS) && HAVE_DECL_PTRACE_SETWMMXREGS)
146*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETWMMXREGS),
147*cf84ac9aSAndroid Build Coastguard Worker #endif
148*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETCRUNCHREGS) || (defined(HAVE_DECL_PTRACE_GETCRUNCHREGS) && HAVE_DECL_PTRACE_GETCRUNCHREGS)
149*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETCRUNCHREGS),
150*cf84ac9aSAndroid Build Coastguard Worker #endif
151*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETCRUNCHREGS) || (defined(HAVE_DECL_PTRACE_SETCRUNCHREGS) && HAVE_DECL_PTRACE_SETCRUNCHREGS)
152*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETCRUNCHREGS),
153*cf84ac9aSAndroid Build Coastguard Worker #endif
154*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETVFPREGS) || (defined(HAVE_DECL_PTRACE_GETVFPREGS) && HAVE_DECL_PTRACE_GETVFPREGS)
155*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETVFPREGS),
156*cf84ac9aSAndroid Build Coastguard Worker #endif
157*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETVFPREGS) || (defined(HAVE_DECL_PTRACE_SETVFPREGS) && HAVE_DECL_PTRACE_SETVFPREGS)
158*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETVFPREGS),
159*cf84ac9aSAndroid Build Coastguard Worker #endif
160*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETHBPREGS) || (defined(HAVE_DECL_PTRACE_GETHBPREGS) && HAVE_DECL_PTRACE_GETHBPREGS)
161*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETHBPREGS),
162*cf84ac9aSAndroid Build Coastguard Worker #endif
163*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETHBPREGS) || (defined(HAVE_DECL_PTRACE_SETHBPREGS) && HAVE_DECL_PTRACE_SETHBPREGS)
164*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETHBPREGS),
165*cf84ac9aSAndroid Build Coastguard Worker #endif
166*cf84ac9aSAndroid Build Coastguard Worker 
167*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_OLD_GETSIGINFO) || (defined(HAVE_DECL_PTRACE_OLD_GETSIGINFO) && HAVE_DECL_PTRACE_OLD_GETSIGINFO)
168*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_OLD_GETSIGINFO),
169*cf84ac9aSAndroid Build Coastguard Worker #endif
170*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_OLD_SETSIGINFO) || (defined(HAVE_DECL_PTRACE_OLD_SETSIGINFO) && HAVE_DECL_PTRACE_OLD_SETSIGINFO)
171*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_OLD_SETSIGINFO),
172*cf84ac9aSAndroid Build Coastguard Worker #endif
173*cf84ac9aSAndroid Build Coastguard Worker 
174*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_PEEKTEXT_3264) || (defined(HAVE_DECL_PTRACE_PEEKTEXT_3264) && HAVE_DECL_PTRACE_PEEKTEXT_3264)
175*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_PEEKTEXT_3264),
176*cf84ac9aSAndroid Build Coastguard Worker #endif
177*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_PEEKDATA_3264) || (defined(HAVE_DECL_PTRACE_PEEKDATA_3264) && HAVE_DECL_PTRACE_PEEKDATA_3264)
178*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_PEEKDATA_3264),
179*cf84ac9aSAndroid Build Coastguard Worker #endif
180*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_POKETEXT_3264) || (defined(HAVE_DECL_PTRACE_POKETEXT_3264) && HAVE_DECL_PTRACE_POKETEXT_3264)
181*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_POKETEXT_3264),
182*cf84ac9aSAndroid Build Coastguard Worker #endif
183*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_POKEDATA_3264) || (defined(HAVE_DECL_PTRACE_POKEDATA_3264) && HAVE_DECL_PTRACE_POKEDATA_3264)
184*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_POKEDATA_3264),
185*cf84ac9aSAndroid Build Coastguard Worker #endif
186*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GET_THREAD_AREA_3264) || (defined(HAVE_DECL_PTRACE_GET_THREAD_AREA_3264) && HAVE_DECL_PTRACE_GET_THREAD_AREA_3264)
187*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GET_THREAD_AREA_3264),
188*cf84ac9aSAndroid Build Coastguard Worker #endif
189*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GET_WATCH_REGS) || (defined(HAVE_DECL_PTRACE_GET_WATCH_REGS) && HAVE_DECL_PTRACE_GET_WATCH_REGS)
190*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GET_WATCH_REGS),
191*cf84ac9aSAndroid Build Coastguard Worker #endif
192*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SET_WATCH_REGS) || (defined(HAVE_DECL_PTRACE_SET_WATCH_REGS) && HAVE_DECL_PTRACE_SET_WATCH_REGS)
193*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SET_WATCH_REGS),
194*cf84ac9aSAndroid Build Coastguard Worker #endif
195*cf84ac9aSAndroid Build Coastguard Worker 
196*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETEVRREGS) || (defined(HAVE_DECL_PTRACE_GETEVRREGS) && HAVE_DECL_PTRACE_GETEVRREGS)
197*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETEVRREGS),
198*cf84ac9aSAndroid Build Coastguard Worker #endif
199*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETEVRREGS) || (defined(HAVE_DECL_PTRACE_SETEVRREGS) && HAVE_DECL_PTRACE_SETEVRREGS)
200*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETEVRREGS),
201*cf84ac9aSAndroid Build Coastguard Worker #endif
202*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETVSRREGS) || (defined(HAVE_DECL_PTRACE_GETVSRREGS) && HAVE_DECL_PTRACE_GETVSRREGS)
203*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETVSRREGS),
204*cf84ac9aSAndroid Build Coastguard Worker #endif
205*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETVSRREGS) || (defined(HAVE_DECL_PTRACE_SETVSRREGS) && HAVE_DECL_PTRACE_SETVSRREGS)
206*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETVSRREGS),
207*cf84ac9aSAndroid Build Coastguard Worker #endif
208*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GET_DEBUGREG) || (defined(HAVE_DECL_PTRACE_GET_DEBUGREG) && HAVE_DECL_PTRACE_GET_DEBUGREG)
209*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GET_DEBUGREG),
210*cf84ac9aSAndroid Build Coastguard Worker #endif
211*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SET_DEBUGREG) || (defined(HAVE_DECL_PTRACE_SET_DEBUGREG) && HAVE_DECL_PTRACE_SET_DEBUGREG)
212*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SET_DEBUGREG),
213*cf84ac9aSAndroid Build Coastguard Worker #endif
214*cf84ac9aSAndroid Build Coastguard Worker #if defined(PPC_PTRACE_GETHWDBGINFO) || (defined(HAVE_DECL_PPC_PTRACE_GETHWDBGINFO) && HAVE_DECL_PPC_PTRACE_GETHWDBGINFO)
215*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PPC_PTRACE_GETHWDBGINFO),
216*cf84ac9aSAndroid Build Coastguard Worker #endif
217*cf84ac9aSAndroid Build Coastguard Worker #if defined(PPC_PTRACE_SETHWDEBUG) || (defined(HAVE_DECL_PPC_PTRACE_SETHWDEBUG) && HAVE_DECL_PPC_PTRACE_SETHWDEBUG)
218*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PPC_PTRACE_SETHWDEBUG),
219*cf84ac9aSAndroid Build Coastguard Worker #endif
220*cf84ac9aSAndroid Build Coastguard Worker #if defined(PPC_PTRACE_DELHWDEBUG) || (defined(HAVE_DECL_PPC_PTRACE_DELHWDEBUG) && HAVE_DECL_PPC_PTRACE_DELHWDEBUG)
221*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PPC_PTRACE_DELHWDEBUG),
222*cf84ac9aSAndroid Build Coastguard Worker #endif
223*cf84ac9aSAndroid Build Coastguard Worker 
224*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_PEEKUSR_AREA) || (defined(HAVE_DECL_PTRACE_PEEKUSR_AREA) && HAVE_DECL_PTRACE_PEEKUSR_AREA)
225*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_PEEKUSR_AREA),
226*cf84ac9aSAndroid Build Coastguard Worker #endif
227*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_POKEUSR_AREA) || (defined(HAVE_DECL_PTRACE_POKEUSR_AREA) && HAVE_DECL_PTRACE_POKEUSR_AREA)
228*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_POKEUSR_AREA),
229*cf84ac9aSAndroid Build Coastguard Worker #endif
230*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_PEEKTEXT_AREA) || (defined(HAVE_DECL_PTRACE_PEEKTEXT_AREA) && HAVE_DECL_PTRACE_PEEKTEXT_AREA)
231*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_PEEKTEXT_AREA),
232*cf84ac9aSAndroid Build Coastguard Worker #endif
233*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_PEEKDATA_AREA) || (defined(HAVE_DECL_PTRACE_PEEKDATA_AREA) && HAVE_DECL_PTRACE_PEEKDATA_AREA)
234*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_PEEKDATA_AREA),
235*cf84ac9aSAndroid Build Coastguard Worker #endif
236*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_POKETEXT_AREA) || (defined(HAVE_DECL_PTRACE_POKETEXT_AREA) && HAVE_DECL_PTRACE_POKETEXT_AREA)
237*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_POKETEXT_AREA),
238*cf84ac9aSAndroid Build Coastguard Worker #endif
239*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_POKEDATA_AREA) || (defined(HAVE_DECL_PTRACE_POKEDATA_AREA) && HAVE_DECL_PTRACE_POKEDATA_AREA)
240*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_POKEDATA_AREA),
241*cf84ac9aSAndroid Build Coastguard Worker #endif
242*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GET_LAST_BREAK) || (defined(HAVE_DECL_PTRACE_GET_LAST_BREAK) && HAVE_DECL_PTRACE_GET_LAST_BREAK)
243*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GET_LAST_BREAK),
244*cf84ac9aSAndroid Build Coastguard Worker #endif
245*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_PEEK_SYSTEM_CALL) || (defined(HAVE_DECL_PTRACE_PEEK_SYSTEM_CALL) && HAVE_DECL_PTRACE_PEEK_SYSTEM_CALL)
246*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_PEEK_SYSTEM_CALL),
247*cf84ac9aSAndroid Build Coastguard Worker #endif
248*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_POKE_SYSTEM_CALL) || (defined(HAVE_DECL_PTRACE_POKE_SYSTEM_CALL) && HAVE_DECL_PTRACE_POKE_SYSTEM_CALL)
249*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_POKE_SYSTEM_CALL),
250*cf84ac9aSAndroid Build Coastguard Worker #endif
251*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_ENABLE_TE) || (defined(HAVE_DECL_PTRACE_ENABLE_TE) && HAVE_DECL_PTRACE_ENABLE_TE)
252*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_ENABLE_TE),
253*cf84ac9aSAndroid Build Coastguard Worker #endif
254*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_DISABLE_TE) || (defined(HAVE_DECL_PTRACE_DISABLE_TE) && HAVE_DECL_PTRACE_DISABLE_TE)
255*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_DISABLE_TE),
256*cf84ac9aSAndroid Build Coastguard Worker #endif
257*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_TE_ABORT_RAND) || (defined(HAVE_DECL_PTRACE_TE_ABORT_RAND) && HAVE_DECL_PTRACE_TE_ABORT_RAND)
258*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_TE_ABORT_RAND),
259*cf84ac9aSAndroid Build Coastguard Worker #endif
260*cf84ac9aSAndroid Build Coastguard Worker 
261*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETDSPREGS) || (defined(HAVE_DECL_PTRACE_GETDSPREGS) && HAVE_DECL_PTRACE_GETDSPREGS)
262*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETDSPREGS),
263*cf84ac9aSAndroid Build Coastguard Worker #endif
264*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETDSPREGS) || (defined(HAVE_DECL_PTRACE_SETDSPREGS) && HAVE_DECL_PTRACE_SETDSPREGS)
265*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETDSPREGS),
266*cf84ac9aSAndroid Build Coastguard Worker #endif
267*cf84ac9aSAndroid Build Coastguard Worker 
268*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SPARC_DETACH) || (defined(HAVE_DECL_PTRACE_SPARC_DETACH) && HAVE_DECL_PTRACE_SPARC_DETACH)
269*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SPARC_DETACH),
270*cf84ac9aSAndroid Build Coastguard Worker #endif
271*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_READDATA) || (defined(HAVE_DECL_PTRACE_READDATA) && HAVE_DECL_PTRACE_READDATA)
272*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_READDATA),
273*cf84ac9aSAndroid Build Coastguard Worker #endif
274*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_WRITEDATA) || (defined(HAVE_DECL_PTRACE_WRITEDATA) && HAVE_DECL_PTRACE_WRITEDATA)
275*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_WRITEDATA),
276*cf84ac9aSAndroid Build Coastguard Worker #endif
277*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_READTEXT) || (defined(HAVE_DECL_PTRACE_READTEXT) && HAVE_DECL_PTRACE_READTEXT)
278*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_READTEXT),
279*cf84ac9aSAndroid Build Coastguard Worker #endif
280*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_WRITETEXT) || (defined(HAVE_DECL_PTRACE_WRITETEXT) && HAVE_DECL_PTRACE_WRITETEXT)
281*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_WRITETEXT),
282*cf84ac9aSAndroid Build Coastguard Worker #endif
283*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETFPAREGS) || (defined(HAVE_DECL_PTRACE_GETFPAREGS) && HAVE_DECL_PTRACE_GETFPAREGS)
284*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETFPAREGS),
285*cf84ac9aSAndroid Build Coastguard Worker #endif
286*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETFPAREGS) || (defined(HAVE_DECL_PTRACE_SETFPAREGS) && HAVE_DECL_PTRACE_SETFPAREGS)
287*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETFPAREGS),
288*cf84ac9aSAndroid Build Coastguard Worker #endif
289*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETREGS64) || (defined(HAVE_DECL_PTRACE_GETREGS64) && HAVE_DECL_PTRACE_GETREGS64)
290*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETREGS64),
291*cf84ac9aSAndroid Build Coastguard Worker #endif
292*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETREGS64) || (defined(HAVE_DECL_PTRACE_SETREGS64) && HAVE_DECL_PTRACE_SETREGS64)
293*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETREGS64),
294*cf84ac9aSAndroid Build Coastguard Worker #endif
295*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETFPREGS64) || (defined(HAVE_DECL_PTRACE_GETFPREGS64) && HAVE_DECL_PTRACE_GETFPREGS64)
296*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETFPREGS64),
297*cf84ac9aSAndroid Build Coastguard Worker #endif
298*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETFPREGS64) || (defined(HAVE_DECL_PTRACE_SETFPREGS64) && HAVE_DECL_PTRACE_SETFPREGS64)
299*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETFPREGS64),
300*cf84ac9aSAndroid Build Coastguard Worker #endif
301*cf84ac9aSAndroid Build Coastguard Worker 
302*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_ARCH_PRCTL) || (defined(HAVE_DECL_PTRACE_ARCH_PRCTL) && HAVE_DECL_PTRACE_ARCH_PRCTL)
303*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_ARCH_PRCTL),
304*cf84ac9aSAndroid Build Coastguard Worker #endif
305*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SYSEMU) || (defined(HAVE_DECL_PTRACE_SYSEMU) && HAVE_DECL_PTRACE_SYSEMU)
306*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SYSEMU),
307*cf84ac9aSAndroid Build Coastguard Worker #endif
308*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SYSEMU_SINGLESTEP) || (defined(HAVE_DECL_PTRACE_SYSEMU_SINGLESTEP) && HAVE_DECL_PTRACE_SYSEMU_SINGLESTEP)
309*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SYSEMU_SINGLESTEP),
310*cf84ac9aSAndroid Build Coastguard Worker #endif
311*cf84ac9aSAndroid Build Coastguard Worker 
312*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_GETXTREGS) || (defined(HAVE_DECL_PTRACE_GETXTREGS) && HAVE_DECL_PTRACE_GETXTREGS)
313*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_GETXTREGS),
314*cf84ac9aSAndroid Build Coastguard Worker #endif
315*cf84ac9aSAndroid Build Coastguard Worker #if defined(PTRACE_SETXTREGS) || (defined(HAVE_DECL_PTRACE_SETXTREGS) && HAVE_DECL_PTRACE_SETXTREGS)
316*cf84ac9aSAndroid Build Coastguard Worker   XLAT(PTRACE_SETXTREGS),
317*cf84ac9aSAndroid Build Coastguard Worker #endif
318*cf84ac9aSAndroid Build Coastguard Worker  XLAT_END
319*cf84ac9aSAndroid Build Coastguard Worker };
320*cf84ac9aSAndroid Build Coastguard Worker 
321*cf84ac9aSAndroid Build Coastguard Worker # endif /* !IN_MPERS */
322*cf84ac9aSAndroid Build Coastguard Worker 
323*cf84ac9aSAndroid Build Coastguard Worker #endif /* !XLAT_MACROS_ONLY */
324