[PATCH] ppc64: dont export PTRACE_{GET,SET}_DEBUGREG commands
Kumar Gala
galak at freescale.com
Sat Sep 24 02:15:27 EST 2005
Paul,
I would like to see this get into 2.6.14 until we close on this issue.
- kumar
--
Don't export to userspace until we come to a decision on how these commands
are suppose to function for all variants of PowerPC with hardware debug
resources. We additionally need to figure out a way to tell the debugger
how many resources of each type exist.
Signed-off-by: Kumar Gala <kumar.gala at freescale.com>
---
commit 5b68986831be07fc105a3e9df2f720f238048fe4
tree 04ebab478347015a715243aeb081531e7fec29bb
parent 0553f23baa3f66ce3fb9e63f0e33d171368905f6
author Kumar K. Gala <kumar.gala at freescale.com> Fri, 23 Sep 2005 11:13:41 -0500
committer Kumar K. Gala <kumar.gala at freescale.com> Fri, 23 Sep 2005 11:13:41 -0500
include/asm-ppc64/ptrace.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/asm-ppc64/ptrace.h b/include/asm-ppc64/ptrace.h
--- a/include/asm-ppc64/ptrace.h
+++ b/include/asm-ppc64/ptrace.h
@@ -193,8 +193,14 @@ extern unsigned long profile_pc(struct p
* Get or set a debug register. The first 16 are DABR registers and the
* second 16 are IABR registers.
*/
+#ifdef __KERNEL__
+/*
+ * Don't export to userspace until we decide what these are suppose to do
+ * for all PPCs and how to determine the actual number of breakpoint resources
+ */
#define PTRACE_GET_DEBUGREG 25
#define PTRACE_SET_DEBUGREG 26
+#endif
/* Additional PTRACE requests implemented on PowerPC. */
#define PPC_PTRACE_GETREGS 0x99 /* Get GPRs 0 - 31 */
More information about the Linuxppc64-dev
mailing list