linux-mips-fnet
[Top] [All Lists]

Re: strace on Linux/MIPS?

To: Jun Sun <jsun@mvista.com>, Keith M Wesolowski <wesolows@chem.unr.edu>, linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu
Subject: Re: strace on Linux/MIPS?
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Fri, 28 Jul 2000 19:52:07 +0200
In-reply-to: <20000728135139.A4903@cistron.nl>; from wichert@cistron.nl on Fri, Jul 28, 2000 at 01:51:39PM +0200
References: <3980C024.8DCCA084@mvista.com> <20000727161212.B12897@chem.unr.edu> <3980C9F0.96B48253@mvista.com> <20000728021137.B1328@bacchus.dhis.org> <3980EC1C.AEF173D2@mvista.com> <20000728042109.C1981@bacchus.dhis.org> <20000728135139.A4903@cistron.nl>
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 */

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