freebsd-skq/usr.bin/truss
marcel 3f532e652b Port truss(1) to 64-bit architectures:
o  Syscall return values do not fit in int on 64-bit architectures.
   Change the type of retval in <arch>_syscall_exit() to long and
   change the prototype of said function to return a long as well.
o  Change the prototype of print_syscall_ret() to take a long for
   the return address and change the format string accordingly.
o  Replace the code sequence
	tmp = malloc(X);
	sprintf(tmp, format, ...);
   with X by definition too small on 64-bit platforms by
        asprintf(&tmp, format, ...);

With these changes the output makes sense again, although it does
mess up the tabulation on ia64. Go widescreen...

Not tested on: alpha, sparc64.
2003-11-09 03:48:13 +00:00
..
alpha-fbsd.c Port truss(1) to 64-bit architectures: 2003-11-09 03:48:13 +00:00
amd64-fbsd32.c Port truss(1) to 64-bit architectures: 2003-11-09 03:48:13 +00:00
amd64-linux32.c Port truss(1) to 64-bit architectures: 2003-11-09 03:48:13 +00:00
extern.h Port truss(1) to 64-bit architectures: 2003-11-09 03:48:13 +00:00
i386-fbsd.c Port truss(1) to 64-bit architectures: 2003-11-09 03:48:13 +00:00
i386-linux.c Port truss(1) to 64-bit architectures: 2003-11-09 03:48:13 +00:00
i386.conf
i386linux.conf
ia64-fbsd.c Port truss(1) to 64-bit architectures: 2003-11-09 03:48:13 +00:00
main.c Port truss(1) to 64-bit architectures: 2003-11-09 03:48:13 +00:00
Makefile Use cat(1) instead of cp(1) so as not to break -DNOCLEAN builds 2003-06-06 05:38:09 +00:00
setup.c Add FBSDID. Do not \n terminate warnx() argument. fprint() -> warnx(). 2003-09-07 15:50:43 +00:00
sparc64-fbsd.c Port truss(1) to 64-bit architectures: 2003-11-09 03:48:13 +00:00
syscall.h Port truss(1) to 64-bit architectures: 2003-11-09 03:48:13 +00:00
syscalls.c Port truss(1) to 64-bit architectures: 2003-11-09 03:48:13 +00:00
truss.1 mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00
truss.h Use timespec not timeval. 2002-08-05 12:22:55 +00:00