]> Git Repo - linux.git/commit
m68k: ptrace fixes
authorAndreas Schwab <[email protected]>
Tue, 19 May 2009 13:38:01 +0000 (15:38 +0200)
committerGeert Uytterhoeven <[email protected]>
Fri, 4 Dec 2009 20:22:35 +0000 (21:22 +0100)
commitf195e2bff3000b8bc251ee6f685e0f027eec6f25
tree6a872faedca9f07af26b7ba90551258a10a3bd94
parentfaa47b466935e73251b18b17d51455b06ed65764
m68k: ptrace fixes

This fixes the following issues in ptrace:

- when single stepping into the signal handler stop at the first insn of
  the handler
- handle non-zero stkadj when accessing pc and sr in ptregs
- correctly handle PT_SR in PTRACE_POKEUSR
- report -EIO when trying to read unknown offset in PTRACE_PEEKUSR

Additionally, the handling of the special case that PT_SR accesses a 16
bit word instead of a 32 bit word has been moved into get_reg/put_reg.

Signed-off-by: Andreas Schwab <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
arch/m68k/kernel/entry.S
arch/m68k/kernel/ptrace.c
This page took 0.048731 seconds and 4 git commands to generate.