original_kernel/arch/sh/kernel
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
..
cpu sh: Remove superfluous setup_frame_reg call 2010-02-08 10:47:11 +09:00
vsyscall
.gitignore
Makefile
asm-offsets.c
cpufreq.c
crash_dump.c
debugtraps.S
disassemble.c
dma-nommu.c
dumpstack.c
dwarf.c sh: Don't continue unwinding across interrupts 2010-02-08 10:47:04 +09:00
early_printk.c
entry-common.S sh: Correct the offset of the return address in ret_from_exception 2010-02-08 10:46:46 +09:00
ftrace.c
head_32.S
head_64.S
idle.c
init_task.c
io.c
io_generic.c
io_trapped.c
irq.c
irq_32.c
irq_64.c
kgdb.c
kprobes.c
localtimer.c
machine_kexec.c
machvec.c
module.c
nmi_debug.c
perf_callchain.c
perf_event.c
process_32.c
process_64.c
ptrace_32.c
ptrace_64.c sh64: fix tracing of signals. 2010-02-15 14:17:45 +09:00
relocate_kernel.S
return_address.c
setup.c
sh_bios.c
sh_ksyms_32.c
sh_ksyms_64.c
signal_32.c
signal_64.c sh64: fix tracing of signals. 2010-02-15 14:17:45 +09:00
smp.c
stacktrace.c
swsusp.c
sys_sh.c
sys_sh32.c
sys_sh64.c
syscalls_32.S
syscalls_64.S
time.c
topology.c
traps.c
traps_32.c
traps_64.c
unwinder.c
vmlinux.lds.S