Go to the documentation of this file.
11#ifndef liblldb_Host_linux_Ptrace_h_
12#define liblldb_Host_linux_Ptrace_h_
14#include <sys/ptrace.h>
20#define DEBUG_PTRACE_MAXBYTES 20
24#define PTRACE_GETREGS 12
27#define PTRACE_SETREGS 13
29#ifndef PTRACE_GETFPREGS
30#define PTRACE_GETFPREGS 14
32#ifndef PTRACE_SETFPREGS
33#define PTRACE_SETFPREGS 15
35#ifndef PTRACE_GETREGSET
36#define PTRACE_GETREGSET 0x4204
38#ifndef PTRACE_SETREGSET
39#define PTRACE_SETREGSET 0x4205
42#ifndef PTRACE_GET_THREAD_AREA
45#define PTRACE_GET_THREAD_AREA 22
47#define PTRACE_GET_THREAD_AREA 25
51#ifndef PTRACE_ARCH_PRCTL
52#define PTRACE_ARCH_PRCTL 30
55#define ARCH_SET_GS 0x1001
56#define ARCH_SET_FS 0x1002
57#define ARCH_GET_FS 0x1003
58#define ARCH_GET_GS 0x1004
60#ifndef PTRACE_PEEKMTETAGS
61#define PTRACE_PEEKMTETAGS 33
63#ifndef PTRACE_POKEMTETAGS
64#define PTRACE_POKEMTETAGS 34