diff options
author | Roland McGrath <roland@redhat.com> | 2008-07-27 16:49:50 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-28 16:30:49 +1000 |
commit | 6558ba2b5cc3a2f22039db30616fcd07c1b28ac8 (patch) | |
tree | ca54768376c6b32a308cc728a72ebcb978e3f179 /arch/sparc/prom/init.c | |
parent | e2075f79a99b45a6cc10de021c93f07212098a84 (diff) |
powerpc: Call tracehook_signal_handler() when setting up signal frames
This makes the powerpc signal handling code call tracehook_signal_handler()
after a handler is set up. This means that using PTRACE_SINGLESTEP to
enter a signal handler will report to ptrace on the first instruction of
the handler, instead of the second. This is consistent with what x86 and
other machines do, and what users and debuggers want.
BenH: Fixed up the test for the trap value.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/sparc/prom/init.c')
0 files changed, 0 insertions, 0 deletions