Commit Graph

73 Commits

Author SHA1 Message Date
manu 3219730476 reflect iric o32/n32 emulations 2002-01-07 23:45:10 +00:00
manu bb34193550 Now use IRIX errno translation instead of SVR4 errno translation 2001-12-02 16:18:01 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
manu 9a1cd2898a Added support for IRIX emulation 2001-11-28 10:36:48 +00:00
mycroft 0505c42bda Quotes around ${CC}... 2001-09-25 14:26:56 +00:00
jdolecek 6f081befa2 set CC and DESTDIR for mkioctls accordingly
patch by Chris Jepeway via tech-userlevel.
2001-09-23 08:51:11 +00:00
eeh 7cb49c5859 Add svr4_32 info. 2001-03-11 21:28:59 +00:00
manu 1a6f014301 Cosmetic fix so that RET record after CALL execve get the appropriate syscall
even if the emulation changed
2001-02-16 23:28:44 +00:00
jdolecek d15ae688ce use 'trstr' for parameter to -t; both 'cenis' (SYNOPSIS) and 'cnis' (DESCRIPTION)
were already out of date and we really don't want keep the info on two
places
2001-02-04 20:44:53 +00:00
mrg 05ebb290f5 teach kdump about compat/sunos32 2001-02-02 07:41:54 +00:00
enami 1dcd879fa8 Make files here compile again. 2001-01-19 14:14:03 +00:00
jdolecek be3807a7c5 adapt to KTR_USER structure changes 2000-12-28 11:11:34 +00:00
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 53b6556eda back out previous change - this needs to be discussed first at least 2000-11-14 00:10:16 +00:00
jdolecek dfc9af3212 don't link these static; if shared libraries are hosed, these utilities would
surely not save the situation, not help to recover from it
2000-11-13 21:48:33 +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
jdolecek 862d46845d adapt to *syscallnames[] change (it's now const char * const foo[]),
constify
2000-11-13 21:38:48 +00:00
is 3b5e0e52e8 Format string cleanups 2000-10-12 19:02:17 +00:00
is 135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
mrg 1a3492999b mark the installed ioctl.h & ioctl_compat.h PRECIOUS; if mkioctls fails, don't delete them! 2000-07-27 11:51:14 +00:00
cgd 100e87de11 '${CC:-cc} -E' rather than 'cpp': want to use a cross-compiler if
appropriate, but worse: 'cpp' (real-UNIX or stock gnu) takes args
[infile [outfile]].  I.e., the second arg (ioctl_compat.h) would
end up being nuked by this script if using a vendor or stock gnu cpp!
Our /usr/bin/cpp works Differently.
2000-07-27 01:36:56 +00:00
jdolecek 654400f740 ectx_sanify(): ditch utterly broken 'optimization', which caused incorrect
emulation structures to be used in every even case if default emulation
  and emulation of process differed.

Bug found by Bill Studenmund.
2000-07-20 20:47:02 +00:00
itohy 07db0e6ae9 Add "pecoff" emulation. 2000-06-13 00:59:22 +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 2f5f8663c5 ectx_sanify(): if default_emul is not set, use netbsd emulation (may happen when user passes invalid
emulation name via -e argument)
2000-04-10 09:34:18 +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 d0dc3a7168 clarify -e usage 2000-04-10 08:05:25 +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
mrg 9abab6de8b - build with obj dirs.
- use .PATH not broken links
- share the make fragment to build "ioctl.c"
- general clean up, RCSID, etc.

this is all happy now AFAICT.
1999-07-12 04:13:34 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +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
veego ee0b338314 Fix the include problem of <compat/linux/arch/xxx/linux_syscall.h>. 1998-10-04 10:49:58 +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
cgd 8aaf609a0a allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-02 19:42:25 +00:00
lukem 8ba07ab0b3 use CPPFLAGS instead of CFLAGS 1997-10-24 09:00:17 +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 e578379504 minor cleanup 1997-08-01 04:37:36 +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
mikel 3489c99115 RCSid police 1997-07-23 05:51:08 +00:00
mikel 7194732677 nuke duplicate RCSid 1997-07-23 05:47:45 +00:00
phil 992579779c Add input files to dependency list for ioctl.c build. 1997-07-21 19:29:58 +00:00
pk 585a85d3d0 * NULL => 0 (Arne Juul; PR#3629)
* Nuke spacoids
1997-05-17 19:46:27 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00