Go to the documentation of this file.
6 #ifndef __PTRACE_USER_H__
7 #define __PTRACE_USER_H__
9 #include <sys/ptrace.h>
18 #define PTRACE_SYSEMU 31
20 #ifndef PTRACE_SYSEMU_SINGLESTEP
21 #define PTRACE_SYSEMU_SINGLESTEP 32
40 #ifndef PTRACE_OLDSETOPTIONS
41 #define PTRACE_OLDSETOPTIONS PTRACE_SETOPTIONS
48 #define SELECT_PTRACE_OPERATION(sysemu_mode, singlestep_mode) \
50 { PTRACE_SYSCALL, PTRACE_SYSCALL, PTRACE_SINGLESTEP }, \
51 { PTRACE_SYSEMU, PTRACE_SYSEMU, PTRACE_SINGLESTEP }, \
52 { PTRACE_SYSEMU, PTRACE_SYSEMU_SINGLESTEP, \
53 PTRACE_SYSEMU_SINGLESTEP } }) \
54 [sysemu_mode][singlestep_mode])