Debugger() -> console_debugger() to honour the ddb_fromconsole sysctl
This commit is contained in:
parent
be52cd1738
commit
a7f50b8178
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user