summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/ptrace_32.c
Commit message (Collapse)AuthorAgeFilesLines
* sh: Add ptrace support for NOMMU debuggingPeter Griffin2009-05-091-0/+8
| | | | | Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up DSP context save/restore.Michael Trimarchi2009-04-041-2/+4
| | | | | | | | | | | | | | | | There were a number of issues with the DSP context save/restore code, mostly left-over relics from when it was introduced on SH3-DSP with little follow-up testing, resulting in things like task_pt_dspregs() referencing incorrect state on the stack. This follows the MIPS convention of tracking the DSP state in the thread_struct and handling the state save/restore in switch_to() and finish_arch_switch() respectively. The regset interface is also updated, which allows us to finally be rid of task_pt_dspregs() and the special cased task_pt_regs(). Signed-off-by: Michael Trimarchi <michael@evidence.eu.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add FPU registers to regset interface.Paul Mundt2008-09-211-0/+76
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Check SR.DSP bit for DSP regset validity.Paul Mundt2008-09-121-0/+9
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add missing task_user_regset_view() definition.Paul Mundt2008-09-121-0/+5
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add DSP registers to regset interface.Paul Mundt2008-09-121-27/+59
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: ptrace: Introduce user_regset interface for gp regs.Paul Mundt2008-09-121-17/+99
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: fixup many sparse errors.Paul Mundt2008-09-081-2/+4
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up the audit arch endian specification.Paul Mundt2008-08-021-1/+12
| | | | | | | | Presently this was always being set to AUDIT_ARCH_SH, which assumes big endian. Fix this up so that the architecture actually reflects what we're running on. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Make syscall tracer use tracehook notifiers, add TIF_NOTIFY_RESUME.Paul Mundt2008-08-021-28/+26
| | | | | | | | | | | | | | This follows the changes in commits: 7d6d637dac2050f30a1b57b0a3dc5de4a10616ba 4f72c4279eab1e5f3ed1ac4e55d4527617582392 on powerpc. Adding in TIF_NOTIFY_RESUME, and cleaning up the syscall tracing to be more generic. This is an incremental step to turning on tracehook, as well as unifying more of the ptrace and signal code across the 32/64 split. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: ptrace single stepping cleanups.Paul Mundt2008-08-021-75/+18
| | | | | | | | This converts the single stepping done by sh/sh64 ptrace implementations to use the generic user_enable/disable_single_step(), and subsequently rips out a lot of ptrace request cases that are now handled generically. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: seccomp support.Paul Mundt2008-08-021-0/+3
| | | | | | | This hooks up the seccomp thread flag and associated callback from the syscall tracer. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Initial ELF FDPIC support.Paul Mundt2008-07-281-0/+23
| | | | | | | | | This adds initial support for ELF FDPIC on MMU-less SH, as per version 0.2 of the ABI definition at: http://www.codesourcery.com/public/docs/sh-fdpic/sh-fdpic-abi.txt Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: fix ptrace copy_from/to_user() compilation errorMagnus Damm2008-02-141-2/+2
| | | | | | | This patch makes the 32-bit ptrace code compile again. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: syscall audit support.Yuichi Nakamura2008-01-281-4/+17
| | | | | | | Support syscall auditing.. Signed-off-by: Yuichi Nakamura <ynakam@hitachisoft.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move in the SH-5 ptrace impl.Paul Mundt2008-01-281-0/+274
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
OpenPOWER on IntegriCloud