From 760720e6add3cbbec45ad96cdd696c1d36aa696b Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 10 Dec 2006 22:50:09 +0000 Subject: [PATCH] Backport a debian change SVN-Revision: 5754 --- utils/strace/patches/01-linux_sigcontext.patch | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/utils/strace/patches/01-linux_sigcontext.patch b/utils/strace/patches/01-linux_sigcontext.patch index f39fa113e6..d42a3d911e 100644 --- a/utils/strace/patches/01-linux_sigcontext.patch +++ b/utils/strace/patches/01-linux_sigcontext.patch @@ -1,6 +1,6 @@ diff -urN strace-4.5.14/signal.c strace-4.5.14.new/signal.c --- strace-4.5.14/signal.c 2006-01-12 23:34:50.000000000 +0100 -+++ strace-4.5.14.new/signal.c 2006-11-14 18:25:18.000000000 +0100 ++++ strace-4.5.14.new/signal.c 2006-12-10 15:14:20.000000000 +0100 @@ -66,7 +66,7 @@ @@ -22,9 +22,21 @@ diff -urN strace-4.5.14/signal.c strace-4.5.14.new/signal.c } else { tcp->u_rval = tcp->u_error = 0; if(tcp->u_arg[0] == 0) +diff -urN strace-4.5.14/strace.c strace-4.5.14.new/strace.c +--- strace-4.5.14/strace.c 2006-01-12 10:50:49.000000000 +0100 ++++ strace-4.5.14.new/strace.c 2006-12-10 15:15:01.000000000 +0100 +@@ -2251,7 +2251,7 @@ + if (!cflag + && (qual_flags[WSTOPSIG(status)] & QUAL_SIGNAL)) { + unsigned long addr = 0, pc = 0; +-#ifdef PT_GETSIGINFO ++#if defined(PT_CR_IPSR) && defined(PT_CR_IIP) && defined(PT_GETSIGINFO) + # define PSR_RI 41 + struct siginfo si; + unsigned long psr; diff -urN strace-4.5.14/system.c strace-4.5.14.new/system.c --- strace-4.5.14/system.c 2006-01-12 22:21:06.000000000 +0100 -+++ strace-4.5.14.new/system.c 2006-11-14 17:39:30.000000000 +0100 ++++ strace-4.5.14.new/system.c 2006-12-10 15:14:20.000000000 +0100 @@ -78,6 +78,7 @@ #endif -- 2.30.2