]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf7ff3838f29fb3bdc4a87f068e2c0e2f014aa69c
treedf721c929ab40ab986793369ece2eed6029e3227
parent1eef04322f2ce9286c2d579eb5a46a2790fb3fb8
[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