Subject: CVS commit: src/usr.bin/pmap
To: None <source-changes@netbsd.org>
From: Andrew Brown <atatat@netbsd.org>
List: source-changes
Date: 01/08/2003 22:25:14
Module Name:	src
Committed By:	atatat
Date:		Wed Jan  8 20:25:13 UTC 2003

Modified Files:
	src/usr.bin/pmap: Makefile pmap.1 pmap.c
Added Files:
	src/usr.bin/pmap: main.c main.h pmap.h pmap_ld.c

Log Message:
Make pmap work on LOCKDEBUG *and* non-LOCKDEBUG kernels (previously it
would fail in spectacular ways on LOCKDEBUG kernels) by compiling the
groveler code twice (the second time with LOCKDEBUG defined so that
the appropriate structures get larger in the right way).  We currently
decide if we are operating on a kernel with LOCKDEBUG enabled if the
kernel's vm_map has referential integrity between a few pointers
and/or values.

Also, if you use more than one -v, you get a * on a line by itself in
between gaps in entries.  It makes finding gaps much easier visually.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/usr.bin/pmap/Makefile
cvs rdiff -r0 -r1.1 src/usr.bin/pmap/main.c src/usr.bin/pmap/main.h \
    src/usr.bin/pmap/pmap.h src/usr.bin/pmap/pmap_ld.c
cvs rdiff -r1.4 -r1.5 src/usr.bin/pmap/pmap.1
cvs rdiff -r1.9 -r1.10 src/usr.bin/pmap/pmap.c

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