linux-mips
[Top] [All Lists]

Re: Strace doesn't work on linux-2.4.28 and later

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: Strace doesn't work on linux-2.4.28 and later
From: David Daney <ddaney@avtrex.com>
Date: Mon, 07 Feb 2005 13:20:49 -0800
Cc: andreev <andreev@niisi.msk.ru>, linux-mips@linux-mips.org
In-reply-to: <20050207210825.GA6703@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <41FF876B.3070407@niisi.msk.ru> <4207C142.6070804@avtrex.com> <4207C3E0.7070405@avtrex.com> <20050207210825.GA6703@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Ralf Baechle wrote:
Index: arch/mips/kernel/scall_o32.S
===================================================================
RCS file: /home/cvs/linux/arch/mips/kernel/Attic/scall_o32.S,v
retrieving revision 1.18.2.14
diff -u -r1.18.2.14 scall_o32.S
--- arch/mips/kernel/scall_o32.S        25 Nov 2004 09:43:59 -0000      
1.18.2.14
+++ arch/mips/kernel/scall_o32.S        7 Feb 2005 21:12:53 -0000
@@ -121,15 +121,14 @@
trace_a_syscall:
        SAVE_STATIC
-       sw      t2, PT_SCRATCH0(sp)
+       move    s0, sp
         ^^^^^^^^^^^^^
I think this should be "move s0, t2" as in scall_64.S et al.

David Daney.

<Prev in Thread] Current Thread [Next in Thread>