[PATCH] Fix MIPS n32/n64 compile error in syscall.c
ddaney at caviumnetworks.com
Tue Feb 9 19:03:27 UTC 2010
syscall.c will not build under mips-n32 or mips-n64.
In syscall_enter() there is a call to ptrace() with an undefined
variable 'pid'. This should be replaced with 'tcp->pid'. Attached is a
patch that fixes the issue for me.
Please apply if approved.
2010-02-09 David Daney <ddaney at caviumnetworks.com>
* syscall.c (syscall_enter): Pass tcp->pid to ptrace
in MIPS-n32/MIPS-n64 case.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Strace-devel