strace on IA64 fix

Matt Chapman matthewc at cse.unsw.edu.au
Sun Mar 31 15:26:04 UTC 2002


On Sun, Mar 31, 2002 at 09:21:36PM +0200, Wichert Akkerman wrote:
> Previously Matt Chapman wrote:
> > The following is a self-explanatory patch to parse time() properly on
> > IA64...  I had problems with it faulting when trying to print out 8 
> > args instead of 1.
> 
> That can't be correct, for several reasons:
> * there is no time() system call
> * the code snippet in your patch is definitely not from
>   linux/ia64/syscallent.h. Linux ia64 syscalls start at 1024.

Sorry, I should have been more clear - I was running i386 code on
IA64.  On i386 there is indeed a time syscall.  The i386 syscalls
start at 0 to maintain binary compatibility.

Matt





More information about the Strace-devel mailing list