[PATCH] ppc64: Fix 64bit ptrace DABR support

Anton Blanchard anton at samba.org
Fri Sep 23 12:56:42 EST 2005


Fix my stupid bug in the 64bit version of PTRACE_SET_DEBUGREG.

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

Index: build/arch/ppc64/kernel/ptrace.c
===================================================================
--- build.orig/arch/ppc64/kernel/ptrace.c	2005-09-15 17:33:46.000000000 +1000
+++ build/arch/ppc64/kernel/ptrace.c	2005-09-20 13:42:15.000000000 +1000
@@ -219,6 +219,7 @@
 
 	case PTRACE_SET_DEBUGREG:
 		ret = ptrace_set_debugreg(child, addr, data);
+		break;
 
 	case PTRACE_DETACH:
 		ret = ptrace_detach(child, data);



More information about the Linuxppc64-dev mailing list