On Fri, Jul 28, 2000 at 01:51:39PM +0200, Wichert Akkerman wrote:
> Previously Ralf Baechle wrote:
> > Looks like strace is still tryping to copy mmap_arg_struct like on Intel
> > but on MIPS we don't use that?
>
> Could be, I think MIPS and i386 use the same codepath there. Patches
> are appreciated so I can include them in strace 4.3 (eta 3 weeks from
> now)
Well, they shouldn't use the same code ...
Bananaware patch below.
Ralf
--- strace/linux/mips/syscallent.orig Mon May 1 03:09:31 2000
+++ strace/linux/mips/syscallent.h Fri Jul 28 19:50:13 2000
@@ -4088,7 +4088,7 @@
{ 1, TF, sys_swapon, "swapon" }, /* 4087 */
{ 3, 0, sys_reboot, "reboot" }, /* 4088 */
{ 3, 0, sys_readdir, "readdir" }, /* 4089 */
- { 6, 0, sys_old_mmap, "mmap" }, /* 4090 */
+ { 6, 0, sys_mmap, "mmap" }, /* 4090 */
{ 2, 0, sys_munmap, "munmap" }, /* 4091 */
{ 2, TF, sys_truncate, "truncate" }, /* 4092 */
{ 2, 0, sys_ftruncate, "ftruncate" }, /* 4093 */