[POWERPC] spufs: always send sigtrap on breakpoint
commitc2b2226c7e46549c26fd5f5f40122536bc91ba0d
authorArnd Bergmann <arnd@arndb.de>
Mon, 27 Nov 2006 18:18:53 +0000 (27 19:18 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:41:09 +0000 (4 20:41 +1100)
tree1161bc17586c5b5f85d2cc7cbae69cb8d29775fd
parentbd2e5f829e772787ea4d986d72ddf57f50878649
[POWERPC] spufs: always send sigtrap on breakpoint

Currently, we only send a sigtrap if the current task is being ptraced.
This is somewhat inconsistant, and it breaks utrace support in fedora.
Removing the check should do the right thing in all cases.

Cc: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/run.c