Subject: CVS commit: src/usr.bin/kdump
To: None <source-changes@NetBSD.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 01/12/2004 13:39:56
Module Name:	src
Committed By:	mrg
Date:		Mon Jan 12 13:39:56 UTC 2004

Modified Files:
	src/usr.bin/kdump: kdump.c setemul.c setemul.h

Log Message:
- 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".)


To generate a diff of this commit:
cvs rdiff -r1.70 -r1.71 src/usr.bin/kdump/kdump.c
cvs rdiff -r1.18 -r1.19 src/usr.bin/kdump/setemul.c
cvs rdiff -r1.11 -r1.12 src/usr.bin/kdump/setemul.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.