]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] spufs: Add support for SPU single stepping
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 4 Jun 2007 05:15:37 +0000 (15:15 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Jun 2007 12:29:56 +0000 (22:29 +1000)
commit05169237b55058a3993fb4804d00b65dfa3e4a0c
tree6d2b8a4f7cdbdf9a484cb419d38b626eecf5fdd9
parent3d5134ee8341bffc4f539049abb9e90d469b448d
[POWERPC] spufs: Add support for SPU single stepping

This patch adds support for SPU single stepping. The single
step bit is set in the SPU when the current process is
being single-stepped via ptrace. The spu then stops and
returns with a specific flag set and the syscall exit code
will generate the SIGTRAP.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/run.c