summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sun3/dev')
-rw-r--r--sys/arch/sun3/dev/zs.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/sun3/dev/zs.c b/sys/arch/sun3/dev/zs.c
index 66f8a2fb978..28cf5bd432d 100644
--- a/sys/arch/sun3/dev/zs.c
+++ b/sys/arch/sun3/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.9 1999/01/11 05:12:03 millert Exp $ */
+/* $OpenBSD: zs.c,v 1.10 2001/05/13 00:22:21 miod Exp $ */
/* $NetBSD: zs.c,v 1.42 1996/11/20 18:57:03 gwr Exp $ */
/*-
@@ -66,6 +66,10 @@
#include <machine/obio.h>
#include <machine/mon.h>
+#ifdef DDB
+#include <ddb/db_var.h>
+#endif
+
/*
* XXX: Hard code this to make console init easier...
*/
@@ -691,6 +695,7 @@ zs_abort()
ZS_DELAY();
} while (rr0 & ZSRR0_BREAK);
#ifdef DDB
- Debugger();
+ if (db_console)
+ Debugger();
#endif
}