parisc: fix tracing of signals
authorKyle McMartin <kyle@redhat.com>
Fri, 12 Feb 2010 15:53:08 +0000 (10:53 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Feb 2010 16:51:58 +0000 (08:51 -0800)
Mike Frysinger pointed out that calling tracehook_signal_handler with
stepping=0 missed testing the thread flags, resulting in not calling
ptrace_notify. Fix this by testing if we're single stepping or branch
stepping and setting the flag accordingly.

Tested, seems to work.

Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found