]> err.no Git - linux-2.6/blobdiff - include/asm-ia64/ptrace.h
proc: remove proc_root_fs
[linux-2.6] / include / asm-ia64 / ptrace.h
index 13435f778b0c28755bd184fc24266988bd4b5256..4b2a8d40ebc5ed398538a5aa63650605b561d803 100644 (file)
@@ -233,8 +233,6 @@ struct switch_stack {
 #include <asm/current.h>
 #include <asm/page.h>
 
-#define __ARCH_SYS_PTRACE      1
-
 /*
  * We use the ia64_psr(regs)->ri to determine which of the three
  * instructions in bundle (16 bytes) took the sample. Generate
@@ -310,6 +308,17 @@ struct switch_stack {
   #define arch_ptrace_stop_needed(code, info) \
        (!test_thread_flag(TIF_RESTORE_RSE))
 
+  extern void ptrace_attach_sync_user_rbs (struct task_struct *);
+  #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 */