[PATCH] powerpc: enable PPC_PTRACE_[GS]ETREGS on ppc32
authorRenzo Davoli <renzo@cs.unibo.it>
Sun, 21 May 2006 18:06:58 +0000 (20:06 +0200)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Jun 2006 11:20:51 +0000 (21:20 +1000)
commit98a90c02792f22afd8161f96fc9b9f0f0eb0880e
treedf721c929ab40ab986793369ece2eed6029e3227
parentc029cc66cb3d83f70c02e0c182f0eed1419f8020
[PATCH] powerpc: enable PPC_PTRACE_[GS]ETREGS on ppc32

I have tested PPC_PTRACE_GETREGS and PPC_PTRACE_SETREGS on umview.

I do not understand why historically these tags has been defined as
PPC_PTRACE_GETREGS and PPC_PTRACE_SETREGS instead of simply
PTRACE_[GS]ETREGS. The other "originality" is that the address must be
put into the "addr" field instead of the "data" field as stated in the
manual.

Signed-off-by: renzo davoli <renzo@cs.unibo.it>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ptrace.c
include/asm-powerpc/ptrace.h