summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/zs.c
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-11-15 06:12:50 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-11-15 06:12:50 +0000
commitb18e56f6361c26af0c6a8ca13ac78ec5a6d7fa60 (patch)
tree6974a9bc1b3069ce4bdc807de51c32987151fb7c /sys/arch/mac68k/dev/zs.c
parent3b40ef82602813dc08a94f1d2a9a19d29b0027e4 (diff)
honour ddb.console; ok deraadt@
Diffstat (limited to 'sys/arch/mac68k/dev/zs.c')
-rw-r--r--sys/arch/mac68k/dev/zs.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/zs.c b/sys/arch/mac68k/dev/zs.c
index d358f031f4e..6b01720a66e 100644
--- a/sys/arch/mac68k/dev/zs.c
+++ b/sys/arch/mac68k/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.12 1999/01/11 05:11:35 millert Exp $ */
+/* $OpenBSD: zs.c,v 1.13 1999/11/15 06:12:49 d Exp $ */
/* $NetBSD: zs.c,v 1.12 1996/12/18 05:04:22 scottr Exp $ */
/*
@@ -59,6 +59,8 @@
#include <machine/cpu.h>
#include <machine/viareg.h>
+#include <ddb/db_var.h>
+
/*
* XXX: Hard code this to make console init easier...
*/
@@ -804,6 +806,7 @@ zs_abort(zst)
/* If we time out, turn off the abort ability! */
}
#ifdef DDB
- Debugger();
+ if (db_console)
+ Debugger();
#endif
}