1
0
Fork 0
alistair23-linux/arch/sh
Paul Mundt 4b505db9c4 sh64: fix tracing of signals.
This follows the parisc change to ensure that tracehook_signal_handler()
is aware of when we are single-stepping in order to ptrace_notify()
appropriately. While this was implemented for 32-bit SH, sh64 neglected
to make use of TIF_SINGLESTEP when it was folded in with the 32-bit code,
resulting in ptrace_notify() never being called.

As sh64 uses all of the other abstractions already, this simply plugs in
the thread flag in the appropriate enable/disable paths and fixes up the
tracehook notification accordingly. With this in place, sh64 is brought
in line with what 32-bit is already doing.

Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-02-15 14:17:45 +09:00
..
boards sh: ms7724: Correct sh-eth EEPROM polling timeout. 2010-01-18 20:47:15 +09:00
boot sh: include empty zero page in romImage 2009-12-04 16:26:20 +09:00
cchips sh: mach-hp6xx: Fix up the hp6xx build for hd64461 changes. 2009-05-20 11:27:13 +09:00
configs sh: update defconfigs. 2010-01-04 15:38:50 +09:00
drivers sh: move machtypes.h to include/generated 2009-12-12 13:08:14 +01:00
include sh64: wire up sys_accept4. 2010-01-19 17:00:31 +09:00
kernel sh64: fix tracing of signals. 2010-02-15 14:17:45 +09:00
lib sh: Optimised memset for SH4 2009-11-24 16:28:43 +09:00
lib64 sh64: Kill off special clear_page() implementation. 2009-08-04 17:17:00 +09:00
math-emu sh: Minor optimisations to FPU handling 2009-11-24 17:45:38 +09:00
mm sh: Don't default enable PMB support. 2010-01-04 11:16:33 +09:00
oprofile sh: oprofile: Fix up count size mismatch for common impl. 2009-11-05 17:13:15 +09:00
tools Makefile: do not override LC_CTYPE 2010-01-13 13:27:24 +01:00
Kconfig sh: Only provide a PCLK definition for legacy CPG CPUs. 2009-12-29 11:09:30 +09:00
Kconfig.cpu sh: Tidy up SH-4A boot_cpu_data.flags probing. 2009-06-01 19:50:08 +09:00
Kconfig.debug sh: Remove old early serial console code V2 2009-12-15 12:07:35 +09:00
Makefile sh: move machtypes.h to include/generated 2009-12-12 13:08:14 +01:00