Commit Graph

33 Commits

Author SHA1 Message Date
itojun 08138ae451 avoid using "errno" as struct member name, to avoid conflict with errno.h.
ok by jdolecek
2000-12-20 22:11:16 +00:00
jdolecek 33150dda73 add support for KTR_USER records 2000-12-17 16:09:40 +00:00
jdolecek b837b700fa map linux ptrace op (number) to it's appropriate name - this is kind of hack,
but turned out to be pretty usable for me
2000-11-13 21:43:12 +00:00
is 3b5e0e52e8 Format string cleanups 2000-10-12 19:02:17 +00:00
tron 7a721a2672 Prevent "kdump" from causing a segmentation fault if the io buffer that
it's printing to stdout ends on a page boundary. Patch supplied by
Andrew Brown in PR bin/9983.
2000-04-26 16:05:37 +00:00
jdolecek 470e7fc568 put setemul(), ectx_* & appropriate structures to separate file, to make it
more easily sharable with ktruss(1)
2000-04-10 09:13:45 +00:00
jdolecek 3d8f702c2b Keep track of what pid uses which emulation and ensure proper
structures are used when decoding the ktrace records. This makes
kdump of ktrace -i output of a process executing binaries of various
emulations actually useful - before, the code used emulation structures
appropriate for last recently executed process, which is bogus.
2000-04-10 07:58:30 +00:00
kleink a3c6c197a2 Cast timeval members to types we know the printf conversions of. 2000-03-27 17:03:25 +00:00
eeh 5fc5fe98a8 Add COMPAT_NETBSD32 support. 1999-12-31 22:27:59 +00:00
thorpej 2d720e5ff0 Don't truncate syscall return values on LP64 platforms. 1999-08-06 00:11:02 +00:00
christos 30c9449a34 Adjust to Eric's recent errno renaming. 1998-10-24 19:04:51 +00:00
christos 9a04d28344 Fix emulation errno translation. 1998-10-18 17:43:43 +00:00
mycroft ae0f007e15 Update for signal handling changes. 1998-09-11 23:09:31 +00:00
mrg 71f20d7c82 use static int instead of static 1998-03-30 02:25:33 +00:00
lukem 2f48163c46 add support for freebsd emulation. from Dave Huang <khym@bga.com> [bin/4293] 1997-10-20 04:21:22 +00:00
lukem 0dd4a8e6e5 WARNSify mkioctls output, fix .Nm usage, deprecate register 1997-10-19 03:38:27 +00:00
mikel 1a90a52019 add explicit return types and prototypes for local functions
use __COPYRIGHT and __RCSID macros, fix other gcc -Wall warnings
1997-07-23 05:53:34 +00:00
pk 585a85d3d0 * NULL => 0 (Arne Juul; PR#3629)
* Nuke spacoids
1997-05-17 19:46:27 +00:00
cgd 0317ced760 fix decode of _IOR/_IOW/_IOWR: 'R' and 'W' were switched (i.e. _IOW ioctls
would print out as '_IOR'), and _IOWR ioctls were being printed as
_IORW (which doesn't exist).
1997-01-27 21:39:50 +00:00
mikel 43f43a58b0 eliminate multiple inclusion of <sys/errno.h>. 1996-11-21 06:25:26 +00:00
christos f0f4eea0fd Decode unknown ioctl commands to _IO{R,W,}('c',x[,y]), instead of 0xabcdef00 1996-05-13 21:12:25 +00:00
jtc 9cffeee5b2 Sync with 4.4lite2 1995-08-31 22:50:22 +00:00
christos 7e8c6bf13c Add support for displaying and switching between
different OS system call emulations
1995-07-19 15:11:19 +00:00
cgd e75fdcfa2e only print MAXCOMLEN chars of the process command name. fixes pr 1080. 1995-06-07 07:24:19 +00:00
cgd dd6987cafa don't get syscalls.c with an absolute path 1995-05-11 22:29:04 +00:00
jtc ae0b9c2010 KERNEL -> _KERNEL 1995-03-28 17:18:59 +00:00
cgd 8c6e0cd884 update for the new data stored in ktrace files:
(1) use argsize rather than nargs
	(2) print long-sized (assumed == register_t-sized; XXX) items
		rather than int-sized ones.
1995-03-26 07:56:27 +00:00
mycroft feec0fc0c1 Make two variables non-static. 1995-03-21 14:22:38 +00:00
mycroft e60255f2bc Update to use timer{add,sub}(). 1995-03-21 14:16:23 +00:00
mycroft 7e07241514 Some KNF, POSIX, and err*(3)/warn*(3) cleanup. Also, use sys_signame[]
rather than a private, home-grown list.
1995-01-15 07:50:44 +00:00
mycroft 2fd4512058 Add RCS ids. 1994-10-06 15:44:32 +00:00
deraadt 450d60fe9d netbsd does not define PT_STEP for architectures that lack
in-kernel single stepping capabilities.
1994-05-18 21:07:34 +00:00
cgd 57935c670a updated kdump 1994-05-11 07:10:27 +00:00