Subject: CVS commit: src/sys/ddb
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 05/17/2003 09:58:03
Module Name:	src
Committed By:	scw
Date:		Sat May 17 09:58:03 UTC 2003

Modified Files:
	src/sys/ddb: db_examine.c db_interface.h db_lex.c

Log Message:
On some platforms, sizeof(db_expr_t) > sizeof(long), so add a method
to select the right format string (at compile time) when displaying
variables of type db_expr_t.

This fixes a problem where ddb(4) would only display the low 32-bits
of registers for an ILP32 kernel on SH5, even though registers
(and db_expr_t) are always 64-bits wide.


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 src/sys/ddb/db_examine.c
cvs rdiff -r1.9 -r1.10 src/sys/ddb/db_interface.h
cvs rdiff -r1.17 -r1.18 src/sys/ddb/db_lex.c

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