diff options
author | Andreas Schwab <schwab@suse.de> | 2008-04-19 12:25:13 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-19 23:03:36 -0400 |
commit | e4cc58944c1e2ce41e3079d4eb60c95e7ce04b2b (patch) | |
tree | 4051adb722a7066b4e4774d3b59af68ed5c52d1c /arch/powerpc/kernel/ppc32.h | |
parent | 585468e5d5962660867c269e26f0a4b89a599473 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/kernel/ppc32.h')
-rw-r--r-- | arch/powerpc/kernel/ppc32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ppc32.h b/arch/powerpc/kernel/ppc32.h index 90e562771791..fda05e2211d6 100644 --- a/arch/powerpc/kernel/ppc32.h +++ b/arch/powerpc/kernel/ppc32.h | |||
@@ -135,4 +135,6 @@ struct ucontext32 { | |||
135 | struct mcontext32 uc_mcontext; | 135 | struct mcontext32 uc_mcontext; |
136 | }; | 136 | }; |
137 | 137 | ||
138 | extern int copy_siginfo_to_user32(struct compat_siginfo __user *d, siginfo_t *s); | ||
139 | |||
138 | #endif /* _PPC64_PPC32_H */ | 140 | #endif /* _PPC64_PPC32_H */ |