Add a check for the DO key to enter ddb on the Personal DECstations.

This commit is contained in:
mhitch 1997-11-23 18:20:11 +00:00
parent d670200ef2
commit 1863572e04
1 changed files with 8 additions and 2 deletions

View File

@ -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 <sys/cdefs.h> /* 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);