aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-01-30 07:30:55 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:55 -0500
commit0fa376e027f0bd71368e1485f863f0dff8f7c897 (patch)
treed7db19a11d6afe3f59137f8567b45501660b019b /include
parent1ecc798c67645e0ee6eb028cb988b71b3edf4b40 (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 'include')
-rw-r--r--include/asm-x86/ptrace-abi.h2
1 files changed, 2 insertions, 0 deletions
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