powerpc: Add PTRACE_SINGLEBLOCK support
authorRoland McGrath <roland@redhat.com>
Thu, 28 May 2009 21:26:38 +0000 (21:26 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 9 Jun 2009 03:29:25 +0000 (13:29 +1000)
commitec097c84dff17511f2693e6ef6c3064dfbf0a3af
tree3eac516a13730dcb371c094c0e8d35c9768c9c23
parentdac4ccfb64bcdd5b4c248ccc22903d67486573cd
powerpc: Add PTRACE_SINGLEBLOCK support

Reworked by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

This adds block-step support on powerpc, including a PTRACE_SINGLEBLOCK
request for ptrace.

The BookE implementation is tweaked to fire a single step after a
block step in order to mimmic the server behaviour.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/ptrace.h
arch/powerpc/kernel/head_booke.h
arch/powerpc/kernel/ptrace.c
arch/powerpc/kernel/traps.c