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> |
||
|---|---|---|
| .. | ||
| cpu | ||
| vsyscall | ||
| .gitignore | ||
| asm-offsets.c | ||
| cpufreq.c | ||
| crash_dump.c | ||
| debugtraps.S | ||
| disassemble.c | ||
| dma-nommu.c | ||
| dumpstack.c | ||
| dwarf.c | ||
| early_printk.c | ||
| entry-common.S | ||
| 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 | ||
| Makefile | ||
| module.c | ||
| nmi_debug.c | ||
| perf_callchain.c | ||
| perf_event.c | ||
| process_32.c | ||
| process_64.c | ||
| ptrace_32.c | ||
| ptrace_64.c | ||
| 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 | ||
| 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 | ||