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