On Sun, Jan 26, 2014 at 09:59:07PM -0300, Ezequiel Garcia wrote:
> +/* Nios-II specific compare and exchange syscall for atomic operations */
> +int sys_nios2cmpxchg(struct tcb *tcp)
> +{
> +     if (entering(tcp)) {
> +             tprintf(", 0x%lx, %#lx, %#lx", tcp->u_arg[0], tcp->u_arg[1],
> +                     tcp->u_arg[2]);
> +     }
> +
> +     return RVAL_HEX;
> +}

This is confusing:
- output starts with ", ";
- both 0x%lx and %#lx are used in the same format line.


-- 
ldv

Attachment: pgpxrnkfFsDLR.pgp
Description: PGP signature

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&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