aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/ia32/ptrace32.c1
-rw-r--r--include/asm-x86/ptrace-abi.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/ia32/ptrace32.c b/arch/x86/ia32/ptrace32.c
index 5ababea1307a..8c6fb9d8352b 100644
--- a/arch/x86/ia32/ptrace32.c
+++ b/arch/x86/ia32/ptrace32.c
@@ -227,6 +227,7 @@ asmlinkage long sys32_ptrace(long request, u32 pid, u32 addr, u32 data)
227 case PTRACE_KILL: 227 case PTRACE_KILL:
228 case PTRACE_CONT: 228 case PTRACE_CONT:
229 case PTRACE_SINGLESTEP: 229 case PTRACE_SINGLESTEP:
230 case PTRACE_SINGLEBLOCK:
230 case PTRACE_DETACH: 231 case PTRACE_DETACH:
231 case PTRACE_SYSCALL: 232 case PTRACE_SYSCALL:
232 case PTRACE_OLDSETOPTIONS: 233 case PTRACE_OLDSETOPTIONS:
diff --git a/include/asm-x86/ptrace-abi.h b/include/asm-x86/ptrace-abi.h
index 7524e1233833..adce6b51df2e 100644
--- a/include/asm-x86/ptrace-abi.h
+++ b/include/asm-x86/ptrace-abi.h
@@ -78,4 +78,6 @@
78# define PTRACE_SYSEMU_SINGLESTEP 32 78# define PTRACE_SYSEMU_SINGLESTEP 32
79#endif 79#endif
80 80
81#define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */
82
81#endif 83#endif