]> git.baikalelectronics.ru Git - kernel.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)
commit9376423306de58e70e589cc39dab03d7af4dfa72
tree6d2b8a4f7cdbdf9a484cb419d38b626eecf5fdd9
parentd4f7dd540af8dea66afa044a99bfa63af5b37eaf
[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