diff options
Diffstat (limited to 'arch/parisc/include')
-rw-r--r-- | arch/parisc/include/asm/ptrace.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/ptrace.h b/arch/parisc/include/asm/ptrace.h index 3e94c5d85ff5..afa5333187b4 100644 --- a/arch/parisc/include/asm/ptrace.h +++ b/arch/parisc/include/asm/ptrace.h | |||
@@ -47,6 +47,16 @@ struct pt_regs { | |||
47 | 47 | ||
48 | #define task_regs(task) ((struct pt_regs *) ((char *)(task) + TASK_REGS)) | 48 | #define task_regs(task) ((struct pt_regs *) ((char *)(task) + TASK_REGS)) |
49 | 49 | ||
50 | #define __ARCH_WANT_COMPAT_SYS_PTRACE | ||
51 | |||
52 | struct task_struct; | ||
53 | #define arch_has_single_step() 1 | ||
54 | void user_disable_single_step(struct task_struct *task); | ||
55 | void user_enable_single_step(struct task_struct *task); | ||
56 | |||
57 | #define arch_has_block_step() 1 | ||
58 | void user_enable_block_step(struct task_struct *task); | ||
59 | |||
50 | /* XXX should we use iaoq[1] or iaoq[0] ? */ | 60 | /* XXX should we use iaoq[1] or iaoq[0] ? */ |
51 | #define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0) | 61 | #define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0) |
52 | #define user_space(regs) (((regs)->iasq[1] != 0) ? 1 : 0) | 62 | #define user_space(regs) (((regs)->iasq[1] != 0) ? 1 : 0) |