linux-mips
[Top] [All Lists]

Strace doesn't work on linux-2.4.28 and later

To: linux-mips@linux-mips.org
Subject: Strace doesn't work on linux-2.4.28 and later
From: andreev <andreev@niisi.msk.ru>
Date: Tue, 01 Feb 2005 16:43:07 +0300
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20041004
Hi, list.

We are using the latest kernel from mips-linux CVS and there is a problem with ptrace.

When syscall with 5 or more arguments are traced, the fifth argument of the syscall is overwritten by tracing code. This error causes problems with strace. For example, you can't trace dynamically linked
applications, because ld.so calls mmap which has 6 arguments.




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