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
41#ifndef PTRACE_GET_THREAD_AREA
42#define PTRACE_GET_THREAD_AREA 25
44#ifndef PTRACE_ARCH_PRCTL
45#define PTRACE_ARCH_PRCTL 30
48#define ARCH_SET_GS 0x1001
49#define ARCH_SET_FS 0x1002
50#define ARCH_GET_FS 0x1003
51#define ARCH_GET_GS 0x1004
53#ifndef PTRACE_PEEKMTETAGS
54#define PTRACE_PEEKMTETAGS 33
56#ifndef PTRACE_POKEMTETAGS
57#define PTRACE_POKEMTETAGS 34