diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-08-17 19:37:50 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-08-17 19:37:50 +0000 |
| commit | 3b6b9a026ed26abe3a3f1470da00ae1f478c4aca (patch) | |
| tree | 7cc7530d12529b80577ff4d97d97ba6db915102e /include/lldb/Host/linux | |
| parent | 98043205754656c922673ff69114f7a7751037b6 (diff) | |
vendor/lldb/lldb-release_390-r280324vendor/lldb/lldb-release_39-r279689vendor/lldb/lldb-release_39-r279477vendor/lldb/lldb-release_39-r278877
Notes
Diffstat (limited to 'include/lldb/Host/linux')
| -rw-r--r-- | include/lldb/Host/linux/Ptrace.h | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/include/lldb/Host/linux/Ptrace.h b/include/lldb/Host/linux/Ptrace.h index b28bb37715d6..731e435da0db 100644 --- a/include/lldb/Host/linux/Ptrace.h +++ b/include/lldb/Host/linux/Ptrace.h @@ -14,33 +14,24 @@ #include <sys/ptrace.h> -#ifdef __ANDROID_NDK__ -#define PT_DETACH PTRACE_DETACH +#ifndef __GLIBC__ typedef int __ptrace_request; #endif #define DEBUG_PTRACE_MAXBYTES 20 // Support ptrace extensions even when compiled without required kernel support -#ifndef PT_GETREGS - #ifndef PTRACE_GETREGS - #define PTRACE_GETREGS 12 - #endif +#ifndef PTRACE_GETREGS + #define PTRACE_GETREGS 12 #endif -#ifndef PT_SETREGS - #ifndef PTRACE_SETREGS - #define PTRACE_SETREGS 13 - #endif +#ifndef PTRACE_SETREGS + #define PTRACE_SETREGS 13 #endif -#ifndef PT_GETFPREGS - #ifndef PTRACE_GETFPREGS - #define PTRACE_GETFPREGS 14 - #endif +#ifndef PTRACE_GETFPREGS + #define PTRACE_GETFPREGS 14 #endif -#ifndef PT_SETFPREGS - #ifndef PTRACE_SETFPREGS - #define PTRACE_SETFPREGS 15 - #endif +#ifndef PTRACE_SETFPREGS + #define PTRACE_SETFPREGS 15 #endif #ifndef PTRACE_GETREGSET #define PTRACE_GETREGSET 0x4204 |
