12345678910111213141516171819202122 |
- --- strace-4.8.orig/signal.c 2013-05-23 15:41:23.000000000 +0200
- +++ strace-4.8/signal.c 2014-02-26 17:40:43.000000000 +0100
- @@ -60,6 +60,10 @@
- # include <asm/ptrace_offsets.h>
- #endif
-
- +#ifndef POWERPC
- +#include <asm/ptrace.h>
- +#endif
- +
- #if defined(SPARC) || defined(SPARC64) || defined(MIPS)
- typedef struct {
- struct pt_regs si_regs;
- @@ -815,7 +819,7 @@ sys_sigreturn(struct tcb *tcp)
- {
- #if defined(ARM)
- if (entering(tcp)) {
- - struct sigcontext_struct sc;
- + struct sigcontext sc;
- sigset_t sigm;
- if (umove(tcp, arm_regs.ARM_sp, &sc) < 0)
- return 0;
|