diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-05 16:49:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-05 16:49:41 +0000 |
commit | bfb1b6126bcfdf842489313cd93b5e5a43512f3e (patch) | |
tree | 2a75a348bbc797d52960b5f52b7354f90cec7753 /sys/arch/i386/isa/pcvt | |
parent | fe9553578b983f487fcb86562db0ab1434df2949 (diff) |
rename ddb.panic_ddb, and add ddb.console. Now you can stop console ddb entry
with a sysctl. There will be architectures and drivers that lack function,
and I trust the maintainers of those will forget to add the code..
Diffstat (limited to 'sys/arch/i386/isa/pcvt')
-rw-r--r-- | sys/arch/i386/isa/pcvt/pcvt_hdr.h | 5 | ||||
-rw-r--r-- | sys/arch/i386/isa/pcvt/pcvt_kbd.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_hdr.h b/sys/arch/i386/isa/pcvt/pcvt_hdr.h index 005318131c3..d2277444682 100644 --- a/sys/arch/i386/isa/pcvt/pcvt_hdr.h +++ b/sys/arch/i386/isa/pcvt/pcvt_hdr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcvt_hdr.h,v 1.17 1998/01/11 06:15:34 deraadt Exp $ */ +/* $OpenBSD: pcvt_hdr.h,v 1.18 1998/02/05 16:48:32 deraadt Exp $ */ /* * Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch. @@ -88,6 +88,9 @@ #include <sys/syslog.h> #include <sys/malloc.h> #include <sys/time.h> +#ifdef DDB +#include <ddb/db_var.h> +#endif #include "pcvt_conf.h" diff --git a/sys/arch/i386/isa/pcvt/pcvt_kbd.c b/sys/arch/i386/isa/pcvt/pcvt_kbd.c index fe955ed9067..81ced849440 100644 --- a/sys/arch/i386/isa/pcvt/pcvt_kbd.c +++ b/sys/arch/i386/isa/pcvt/pcvt_kbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcvt_kbd.c,v 1.12 1998/01/11 06:15:35 deraadt Exp $ */ +/* $OpenBSD: pcvt_kbd.c,v 1.13 1998/02/05 16:48:34 deraadt Exp $ */ /* * Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch. @@ -1437,7 +1437,8 @@ regular: /* the string is actually not used... */ Debugger("kbd"); #else - Debugger(); + if (db_console) + Debugger(); #endif in_Debugger = 0; if(noblock) |