- pre3:
[davej-history.git] / include / linux / ptrace.h
blob0a02879d546fd9f60ddc137dced9718cc8419d6c
1 #ifndef _LINUX_PTRACE_H
2 #define _LINUX_PTRACE_H
3 /* ptrace.h */
4 /* structs and defines to help the user use the ptrace system call. */
6 /* has the defines to get at the registers. */
8 #define PTRACE_TRACEME 0
9 #define PTRACE_PEEKTEXT 1
10 #define PTRACE_PEEKDATA 2
11 #define PTRACE_PEEKUSR 3
12 #define PTRACE_POKETEXT 4
13 #define PTRACE_POKEDATA 5
14 #define PTRACE_POKEUSR 6
15 #define PTRACE_CONT 7
16 #define PTRACE_KILL 8
17 #define PTRACE_SINGLESTEP 9
19 #define PTRACE_ATTACH 0x10
20 #define PTRACE_DETACH 0x11
22 #define PTRACE_SYSCALL 24
24 #include <asm/ptrace.h>
26 #endif