diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 12:30:48 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 12:30:48 (GMT) |
commit | 7f232343e0ea37ffc0a552cdbd4825482c949281 (patch) | |
tree | 8af4ce9586fa4288dbbd59ff2c79ccd62dc135db /include/asm-x86/ptrace.h | |
parent | 77c03dcd448aa4c7be45f4edb97381ef463e3911 (diff) | |
download | linux-fsl-qoriq-7f232343e0ea37ffc0a552cdbd4825482c949281.tar.xz |
x86: arch_has_single_step
This defines the new standard arch_has_single_step macro. It makes the
existing set_singlestep and clear_singlestep entry points global, and
renames them to the new standard names user_enable_single_step and
user_disable_single_step, respectively.
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/asm-x86/ptrace.h')
-rw-r--r-- | include/asm-x86/ptrace.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-x86/ptrace.h b/include/asm-x86/ptrace.h index 105d153..fe75422 100644 --- a/include/asm-x86/ptrace.h +++ b/include/asm-x86/ptrace.h @@ -140,6 +140,13 @@ enum { #ifdef __KERNEL__ +/* + * These are defined as per linux/ptrace.h, which see. + */ +#define arch_has_single_step() (1) +extern void user_enable_single_step(struct task_struct *); +extern void user_disable_single_step(struct task_struct *); + struct user_desc; extern int do_get_thread_area(struct task_struct *p, int idx, struct user_desc __user *info); |