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