]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] user_regset PTRACE_SETREGS regression fix
authorRoland McGrath <roland@redhat.com>
Thu, 13 Mar 2008 08:25:35 +0000 (19:25 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Mar 2008 23:10:56 +0000 (10:10 +1100)
commitc2372eb9bcafdd149b26987a8c25bbed92fd2775
tree8e32ac8e467593c333cfed402fdb766cba80308a
parent264e3e889d86e552b4191d69bb60f4f3b383135a
[POWERPC] user_regset PTRACE_SETREGS regression fix

The PTRACE_SETREGS request was only recently added on powerpc,
and gdb does not use it.  So it slipped through without getting
all the testing it should have had.

The user_regset changes had a simple bug in storing to all of
the 32-bit general registers block on 64-bit kernels.  This bug
only comes up with PTRACE_SETREGS, not PPC_PTRACE_SETREGS.
It causes a BUG_ON to hit, so this fix needs to go in ASAP.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ptrace.c