| Age | Commit message (Collapse) | Author |
|
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".)
|
|
|
|
|
|
is indeed in the message, but in hex. It's a bit inconvenient.
|
|
- 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.
|
|
|
|
an argument. Introduce -Xsize to do the job. -x is equivalent to -X1
Of course -x and -Xsize are mutually exclusive.
|
|
Produce sensible output on little-endian systems.
|
|
|
|
and word per word display in hex dumps.
-x1 gives you byte per byte, -x4 word per word, and -x defaults to -x1
|
|
|
|
id/names in sys/compat/mach/mach_services_names.c
Remove ports and flags displays, the information is already in the message.
|
|
|
|
|
|
* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.
* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
|
|
- ansify
- no breaks after returns
- statics where needed
- no exit after errx
|
|
|
|
|
|
for compatibility with the old ktrace files.
|
|
|
|
* Add the ability to decode the cryptodev ioctls.
|
|
Patches provided by Joel Baker in PR 22365, verified by myself.
|
|
Make ktrace -c default to removing all trace points (not just the default ones).
Make kdump default to dumping everything in the trace file.
Add 'A' (all) and '-' (remove following) to valid -t arguments.
Dump data block of UNKNOWN trace points in hex + ascii.
Make first time output with -R 0 (instead of time since epoch).
Use svis() instead of vis() to get " escaped (as \") (needs fixed libc)
Correctly pass unsigned values to svis()
Update man pages.
|
|
on little endian systems. It is also much easier to read misaligned
words in a straight byte hexdump.
Cut offset to 3 hex digits so that it fixs in 80 columns and still
leaves a tab at the start of 'continuation' lines.
The ktrace buffer is limited to 4k, so 3 digits is ample.
|
|
before using such a result as a field width.
|
|
|
|
While we are there, display offsets in the hexdump, it can be useful.
Remove size display in Mach Messages as user processes don't always
fill it correctly.
|
|
|
|
|
|
vis(3) format).
Maybe there could be a heuristic to decide whether the data is printable...
|
|
|
|
apropriate format string.
|
|
the command line.
|
|
|
|
To get both fd numbers for pipe().
|
|
Juergen Hannken-Illjes
|
|
|
|
for correct formatting of the SYNOPSIS any longer.
|
|
|
|
there, KNFify a few functions.
|
|
|
|
|
|
printed as:
CALL kill(0x1e4, SIG 0)
rathern than previous
CALL kill(0x1e4, SIG*unknown 0*)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|