On Sunday, January 26, 2014 21:59:07 Ezequiel Garcia wrote:
> --- a/syscall.c
> +++ b/syscall.c
>
> +#elif defined(NIOS2)
> +     (void)i;
> +     (void)nargs;
> +     tcp->u_arg[0] = nios2_regs.uregs[4];
> +     tcp->u_arg[1] = nios2_regs.uregs[5];
> +     tcp->u_arg[2] = nios2_regs.uregs[6];
> +     tcp->u_arg[3] = nios2_regs.uregs[7];
> +     tcp->u_arg[4] = nios2_regs.uregs[8];
> +     tcp->u_arg[5] = nios2_regs.uregs[9];

        for (i = 0; i < nargs; ++i)
                tcp->u_arg[i] = nios2_regs.uregs[i + 4];

> --- a/system.c
> +++ b/system.c
> 
> +int sys_getpagesize(struct tcb *tcp)
> +{
> +     return 0;
> +}

that can't possibly be correct ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to