From a7f50b8178d5716116b44dcf8fd883d55d2f2fa9 Mon Sep 17 00:00:00 2001 From: drochner Date: Tue, 26 Jan 1999 17:08:37 +0000 Subject: [PATCH] Debugger() -> console_debugger() to honour the ddb_fromconsole sysctl --- sys/dev/ic/com.c | 4 ++-- sys/dev/wscons/wskbd.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c index 4326d4eb227c..16bc767a887e 100644 --- a/sys/dev/ic/com.c +++ b/sys/dev/ic/com.c @@ -1,4 +1,4 @@ -/* $NetBSD: com.c,v 1.149 1998/11/18 23:58:52 thorpej Exp $ */ +/* $NetBSD: com.c,v 1.150 1999/01/26 17:08:37 drochner Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -1921,7 +1921,7 @@ comintr(arg) if (ISSET(lsr, LSR_BI)) { #ifdef DDB if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) { - Debugger(); + console_debugger(); continue; } #endif diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c index 8b842a5a3f65..84026f6f7ed1 100644 --- a/sys/dev/wscons/wskbd.c +++ b/sys/dev/wscons/wskbd.c @@ -1,4 +1,4 @@ -/* $NetBSD: wskbd.c,v 1.18 1999/01/17 15:59:17 drochner Exp $ */ +/* $NetBSD: wskbd.c,v 1.19 1999/01/26 17:08:37 drochner Exp $ */ /* * Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved. @@ -36,7 +36,7 @@ static const char _copyright[] __attribute__ ((unused)) = "Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved."; static const char _rcsid[] __attribute__ ((unused)) = - "$NetBSD: wskbd.c,v 1.18 1999/01/17 15:59:17 drochner Exp $"; + "$NetBSD: wskbd.c,v 1.19 1999/01/26 17:08:37 drochner Exp $"; /* * Copyright (c) 1992, 1993 @@ -921,7 +921,7 @@ internal_command(sc, type, ksym) #ifdef DDB case KS_Cmd_Debugger: if (sc->sc_isconsole) - Debugger(); + console_debugger(); /* discard this key (ddb discarded command modifiers) */ *type = WSCONS_EVENT_KEY_UP; return (1);