summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorPetr Tesarik <ptesarik@suse.cz>2008-02-11 22:43:38 +0100
committerTony Luck <tony.luck@intel.com>2008-03-06 00:49:11 +0100
commit8db3f5254151c3a06a764bbb18283570ba1897bf (patch)
tree3ea87ac42410202946c5c18871ba212c2c8192b2 /include/asm-ia64
parent[IA64] convert sys_ptrace to arch_ptrace (diff)
downloadlinux-8db3f5254151c3a06a764bbb18283570ba1897bf.tar.xz
linux-8db3f5254151c3a06a764bbb18283570ba1897bf.zip
[IA64] remove duplicate code from arch_ptrace()
Remove all code which does exactly the same thing as ptrace_request(). Signed-off-by: Petr Tesarik <ptesarik@suse.cz> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r--include/asm-ia64/ptrace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-ia64/ptrace.h b/include/asm-ia64/ptrace.h
index 5b5234098783..4b2a8d40ebc5 100644
--- a/include/asm-ia64/ptrace.h
+++ b/include/asm-ia64/ptrace.h
@@ -312,6 +312,13 @@ struct switch_stack {
#define arch_ptrace_attach(child) \
ptrace_attach_sync_user_rbs(child)
+ #define arch_has_single_step() (1)
+ extern void user_enable_single_step(struct task_struct *);
+ extern void user_disable_single_step(struct task_struct *);
+
+ #define arch_has_block_step() (1)
+ extern void user_enable_block_step(struct task_struct *);
+
#endif /* !__KERNEL__ */
/* pt_all_user_regs is used for PTRACE_GETREGS PTRACE_SETREGS */