]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Add compat handler for PTRACE_GETSIGINFO
authorAndreas Schwab <schwab@suse.de>
Sat, 19 Apr 2008 16:25:13 +0000 (02:25 +1000)
committerPaul Mackerras <paulus@samba.org>
Sun, 20 Apr 2008 03:03:36 +0000 (13:03 +1000)
commit0197aaf54d7ed712436a71fc01afa7f56a033e97
tree4051adb722a7066b4e4774d3b59af68ed5c52d1c
parent09bf7fcd6d177de806b17d5271ab78046abd8d81
[POWERPC] Add compat handler for PTRACE_GETSIGINFO

Current versions of gdb require a working implementation of
PTRACE_GETSIGINFO for proper watchpoint support.  Since struct siginfo
contains pointers it must be converted when passed to a 32-bit debugger.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ppc32.h
arch/powerpc/kernel/ptrace32.c