strace on IA64 fix

Matt Chapman matthewc at cse.unsw.edu.au
Sun Feb 10 20:41:01 UTC 2002


Hi Wichert,

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.

Matt


--- strace-4.4/linux/ia64/syscallent.h	Mon May  1 11:54:00 2000
+++ strace-4.4-modified/linux/ia64/syscallent.h	Mon Feb 11 14:40:50 2002
@@ -39,7 +39,7 @@
 	{ 1,	TF,	sys_unlink,		"unlink"	}, /* 10 */
 	{ 3,	TF|TP,	sys_execve,		"execve"	}, /* 11 */
 	{ 1,	TF,	sys_chdir,		"chdir"		}, /* 12 */
-	{ 8,	0,	printargs,		"SYS_13"	}, /* 13 */
+	{ 1,	0,	sys_time,		"time"		}, /* 13 */
 	{ 3,	TF,	sys_mknod,		"mknod"		}, /* 14 */
 	{ 2,	TF,	sys_chmod,		"chmod"		}, /* 15 */
 	{ 3,	TF,	sys_chown,		"lchown"	}, /* 16 */






More information about the Strace-devel mailing list