linux-mips
[Top] [All Lists]

strace sysmips support (was: Re: [FIX] sysmips(MIPS_ATMIC_SET, ...) ret_

To: linux-mips@oss.sgi.com
Subject: strace sysmips support (was: Re: [FIX] sysmips(MIPS_ATMIC_SET, ...) ret_from_sys_call vs. o32_ret_from_sys_call)
From: Wichert Akkerman <wichert@cistron.nl>
Date: Mon, 19 Feb 2001 14:11:30 +0100
In-reply-to: <20010125165530.B12576@paradigm.rfc822.org>; from flo@rfc822.org on Thu, Jan 25, 2001 at 04:55:31PM +0100
Mail-followup-to: linux-mips@oss.sgi.com
References: <20010124163048.B15348@paradigm.rfc822.org> <20010124165919.C15348@paradigm.rfc822.org> <20010125165530.B12576@paradigm.rfc822.org>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.15i
Previously Florian Lohoff wrote:
> From the strace i find
> 
> sysmips(0x7d1, 0x2ac95d24, 0x1, 0)      = 4149

FWIW, I've just put code in strace CVS to decode this properly. Looking
in my (stock Linus) kerneltree I noticed the sys_sysmips code assumes
it can get away with converting an int to a char*, which seems like a
wrong assumption to me..

I don't have my indy up and running at the moment, so the code is
completely untested. Feedback is welcomed :)

Wichert.

-- 
  _________________________________________________________________
 /       Nothing is fool-proof to a sufficiently talented fool     \
| wichert@cistron.nl                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |

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