Home | History | Annotate | Download | only in kdump
History log of /src/usr.bin/kdump/setemul.h
RevisionDateAuthorComments
 1.15  26-Apr-2011  joerg Remove Darwin, MACH and Mach-O support.
 1.14  28-Apr-2008  martin branches: 1.14.8;
Remove clause 3 and 4 from TNF licenses
 1.13  16-Jul-2005  christos branches: 1.13.20;
WARNS=3
 1.12  12-Jan-2004  mrg - add a new flags field to the emulation vector, with one user so far
EMUL_FLAG_NETBSD32. set EMUL_FLAG_NETBSD32 in any 32 bit on 64 bit
kernel emulation layers.
- if EMUL_FLAG_NETBSD32 is set, calculate the proper argument count.
(XXX: this should use register32_t, but that's not visible to all
builders of kdump...)

now netbsd32_ioctl(2) actually reports sane values, and other arguments
are mostly correctly printed (there are still some signed extension
issues with 32 bit numbers being displayed as "0xffffffff8xxxxxxx".)
 1.11  18-Nov-2003  dsl Stop core dump if an ioctl trace has fewer than expected arguments.
- Check names of system calls (for special treatment) because emulations
might use different numbers.
- Report an error if arguments to -p or -m non-numeric.
- Just take last of -x and -Xvalue, stop -X0x80000000 being valid (core dumps).
- Keep 'last used' emulation_ctx at top of list, create on lookup (usually
EMUL anyway), delete when exit called (doesn't return).
- Slightly improve hack to get correct system call name in execve return
when emulation has changed.
- Rename global variables 'current'/'previous' to 'cur_emul'/'prev_emul'.
(TODO: save system call type (and maybe an argument) per pid so GIO trace
format can depend on the actual system call.)
Fixes part of PR sparc64/23473 - but system call arguments will still not be
displayed correctly.
 1.10  15-Nov-2003  manu kdump now displays Mach services names itself, including a table of
id/names in sys/compat/mach/mach_services_names.c

Remove ports and flags displays, the information is already in the message.
 1.9  19-Oct-2003  christos KNF:
- ansify
- no breaks after returns
- statics where needed
- no exit after errx
 1.8  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.7  15-Nov-2002  manu Now properly display Mach traps
 1.6  31-Mar-2002  christos Provide hooks for signal number to name translation, and use them for kill
and PSIG.

XXX[1]: This shows that signal emulation ktrace is slightly busted: posted
signals should really be translated to the emulated ones instead of
producing ktrace records with the signal numbers of the native
emulation.
XXX[2]: There are other places where signal names can be displayed, but this
is not done yet.
 1.5  16-Feb-2001  manu Cosmetic fix so that RET record after CALL execve get the appropriate syscall
even if the emulation changed
 1.4  19-Jan-2001  enami Make files here compile again.
 1.3  20-Dec-2000  itojun avoid using "errno" as struct member name, to avoid conflict with errno.h.
ok by jdolecek
 1.2  13-Nov-2000  jdolecek adapt to *syscallnames[] change (it's now const char * const foo[]),
constify
 1.1  10-Apr-2000  jdolecek put setemul(), ectx_* & appropriate structures to separate file, to make it
more easily sharable with ktruss(1)
 1.13.20.1  18-May-2008  yamt sync with head.
 1.14.8.2  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.14.8.1  28-Apr-2008  martin file setemul.h was added on branch christos-time_t on 2008-04-28 20:24:14 +0000

RSS XML Feed