summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-08-15 19:29:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-08-15 19:29:47 +0000
commit6651a4a2aa9f70adf8857ec43bb679c7d1b9cd44 (patch)
tree97dba86137747efab33b24a098b97959e0173220 /sys
parentc679fa720a918b1d7be722756915d18064e64c86 (diff)
make debug output sligthly more useful
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/m88k/m88k/m88100_machdep.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/m88k/m88k/m88100_machdep.c b/sys/arch/m88k/m88k/m88100_machdep.c
index e97306ca658..b8f552287ce 100644
--- a/sys/arch/m88k/m88k/m88100_machdep.c
+++ b/sys/arch/m88k/m88k/m88100_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m88100_machdep.c,v 1.7 2009/02/21 18:37:48 miod Exp $ */
+/* $OpenBSD: m88100_machdep.c,v 1.8 2013/08/15 19:29:46 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1991 Carnegie Mellon University
@@ -102,13 +102,13 @@ dae_print_one(u_int x, u_int dmax, u_int dmdx, u_int dmtx)
return;
if (ISSET(dmtx, DMT_WRITE))
- printf("[DMT%d=%x: st.%c %x to %x as %d %s %s]\n",
+ printf("[DMT%d=%x: st.%c %x to %x en %x %s %s]\n",
x, dmtx, dmtx & DMT_DAS ? 's' : 'u', dmdx, dmax,
DMT_ENBITS(dmtx),
dmtx & DMT_DOUB1 ? "double": "not double",
dmtx & DMT_LOCKBAR ? "xmem": "not xmem");
else
- printf("[DMT%d=%x: ld.%c r%d <- %x as %d %s %s]\n",
+ printf("[DMT%d=%x: ld.%c r%d <- %x en %x %s %s]\n",
x, dmtx, dmtx & DMT_DAS ? 's' : 'u',
DMT_DREGBITS(dmtx), dmax, DMT_ENBITS(dmtx),
dmtx & DMT_DOUB1 ? "double": "not double",
@@ -145,13 +145,13 @@ dae_process(struct trapframe *eframe, u_int x,
DAE_DEBUG(
if (ISSET(dmtx, DMT_WRITE))
- printf("[DMT%d=%x: st.%c %x to %x as %d %s %s]\n",
+ printf("[DMT%d=%x: st.%c %x to %x en %x %s %s]\n",
x, dmtx, dmtx & DMT_DAS ? 's' : 'u', dmdx, dmax,
DMT_ENBITS(dmtx),
dmtx & DMT_DOUB1 ? "double": "not double",
dmtx & DMT_LOCKBAR ? "xmem": "not xmem");
else
- printf("[DMT%d=%x: ld.%c r%d <- %x as %d %s %s]\n",
+ printf("[DMT%d=%x: ld.%c r%d <- %x en %x %s %s]\n",
x, dmtx, dmtx & DMT_DAS ? 's' : 'u',
DMT_DREGBITS(dmtx), dmax, DMT_ENBITS(dmtx),
dmtx & DMT_DOUB1 ? "double": "not double",
@@ -250,7 +250,7 @@ dae_process(struct trapframe *eframe, u_int x,
* was set...
*/
if (!ISSET(dmtx, DMT_WRITE)) {
- if (x != 2) {
+ if (x < 2) {
/* RERUN xmem WITH DMD(x+1) */
dmdx =
x == 0 ? eframe->tf_dmd1 : eframe->tf_dmd2;