diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 07:30:55 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:55 -0500 |
commit | 0fa376e027f0bd71368e1485f863f0dff8f7c897 (patch) | |
tree | d7db19a11d6afe3f59137f8567b45501660b019b /arch/x86/ia32 | |
parent | 1ecc798c67645e0ee6eb028cb988b71b3edf4b40 (diff) |
x86: PTRACE_SINGLEBLOCK
This adds the PTRACE_SINGLEBLOCK request on x86, matching the ia64 feature.
The implementation comes from the generic ptrace code and relies on the
low-level machine support provided by arch_has_block_step() et al.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/ia32')
-rw-r--r-- | arch/x86/ia32/ptrace32.c | 1 |
1 files changed, 1 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: |