]> err.no Git - linux-2.6/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)
commite4cc58944c1e2ce41e3079d4eb60c95e7ce04b2b
tree4051adb722a7066b4e4774d3b59af68ed5c52d1c
parent585468e5d5962660867c269e26f0a4b89a599473
[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