Benjamin Herrenschmidt 7d43e57764 [POWERPC] Fix ppc32 single-stepping out of syscalls
The ppc32 kernel didn't properly set/clear the TIF_SINGLESTEP
flag, causing return from syscalls to not SIGTRAP, thus executing
one more instruction before stopping again.

This fixes it.  The ptrace code is a bit of a mess, and is overdue
for at least a -proper- 32/64 bits split and possibly more cleanups
but this minimum fix should be ok for 2.6.22

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-02 21:01:55 +10:00
..
2007-05-11 05:38:25 -04:00
2007-05-08 13:37:51 +10:00
2007-05-08 13:40:31 +10:00
2007-03-22 22:52:58 +11:00
2007-02-07 14:03:22 +11:00
2006-12-11 16:35:07 +11:00
2007-05-08 13:40:31 +10:00
2006-08-08 17:08:56 +10:00
2007-05-02 20:04:30 +10:00
2007-05-08 13:40:31 +10:00
2007-05-12 11:32:47 +10:00
2007-05-08 13:37:51 +10:00