aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-01-30 07:30:53 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:53 -0500
commit5b88abbf770a0e1975c668743100f42934f385e8 (patch)
treeae6af4df76e71682efb4d90620182bfaf541e9c8 /include
parentdc802c2d2e66e2d1544e023bfd4be6cdee48d57b (diff)
ptrace: generic PTRACE_SINGLEBLOCK
This makes ptrace_request handle PTRACE_SINGLEBLOCK along with PTRACE_CONT et al. The new generic code makes use of the arch_has_block_step macro and generic entry points on machines that define them. [ mingo@elte.hu: bugfix ] 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/linux/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h
index 1febc541dda5..515bff053de8 100644
--- a/include/linux/ptrace.h
+++ b/include/linux/ptrace.h
@@ -187,7 +187,7 @@ static inline void user_disable_single_step(struct task_struct *task)
187 * supports step-until-branch for user mode. It can be a constant or it 187 * supports step-until-branch for user mode. It can be a constant or it
188 * can test a CPU feature bit. 188 * can test a CPU feature bit.
189 */ 189 */
190#define arch_has_single_step() (0) 190#define arch_has_block_step() (0)
191 191
192/** 192/**
193 * user_enable_block_step - step until branch in user-mode task 193 * user_enable_block_step - step until branch in user-mode task