From 1863572e040ac8e31c12b298262b959ec01a8dec Mon Sep 17 00:00:00 2001 From: mhitch Date: Sun, 23 Nov 1997 18:20:11 +0000 Subject: [PATCH] Add a check for the DO key to enter ddb on the Personal DECstations. --- sys/arch/pmax/dev/dtop.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/arch/pmax/dev/dtop.c b/sys/arch/pmax/dev/dtop.c index 3811887cceec..a74daa10cd23 100644 --- a/sys/arch/pmax/dev/dtop.c +++ b/sys/arch/pmax/dev/dtop.c @@ -1,4 +1,4 @@ -/* $NetBSD: dtop.c,v 1.28 1997/11/10 21:59:18 mhitch Exp $ */ +/* $NetBSD: dtop.c,v 1.29 1997/11/23 18:20:11 mhitch Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -94,7 +94,7 @@ SOFTWARE. ********************************************************/ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: dtop.c,v 1.28 1997/11/10 21:59:18 mhitch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dtop.c,v 1.29 1997/11/23 18:20:11 mhitch Exp $"); #include "rasterconsole.h" @@ -893,6 +893,12 @@ dtop_keyboard_handler(dev, msg, event, outc) for ( ; ns >= ne; ns--) if (*ns) { c = kbdMapChar(*ns); +#ifdef DDB + if (*ns == LK_DO) { + spl0(); + Debugger(); + } +#endif if (outc == 0) { if (dtopDivertXInput) { (*dtopDivertXInput)(*ns);