[patch 4/5] ppc64: Add definitions for new PTRACE calls

Anton Blanchard anton at samba.org
Mon Sep 12 12:53:21 EST 2005


 
> The other machines that define this now call it PTRACE_SINGLEBLOCK (ia64, pa).
> (It can also be implemented on modern x86 chips, and I'll get around to
> that one of these days.)

OK lets leave that part out and just get the data breakpoint support in.

Anton

Remove PTRACE_BRANCHSTEP, we need to work on something useful to other
architectures.

Signed-off-by: Anton Blanchard <anton at samba.org>
---

Index: build/include/asm-ppc/ptrace.h
===================================================================
--- build.orig/include/asm-ppc/ptrace.h	2005-09-12 12:06:11.000000000 +1000
+++ build/include/asm-ppc/ptrace.h	2005-09-12 12:06:36.000000000 +1000
@@ -142,8 +142,6 @@
 #define PTRACE_GETEVRREGS	20
 #define PTRACE_SETEVRREGS	21
 
-#define PTRACE_BRANCHSTEP	22
-
 /*
  * Get or set a debug register. The first 16 are DABR registers and the
  * second 16 are IABR registers.
Index: build/include/asm-ppc64/ptrace.h
===================================================================
--- build.orig/include/asm-ppc64/ptrace.h	2005-09-12 12:06:11.000000000 +1000
+++ build/include/asm-ppc64/ptrace.h	2005-09-12 12:06:40.000000000 +1000
@@ -189,8 +189,6 @@
 #define PTRACE_SETEVRREGS       21
 #endif
 
-#define PTRACE_BRANCHSTEP	22
-
 /*
  * Get or set a debug register. The first 16 are DABR registers and the
  * second 16 are IABR registers.



More information about the Linuxppc64-dev mailing list