summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_prf.c6
-rw-r--r--sys/kern/subr_userconf.c4
-rw-r--r--sys/kern/subr_witness.c8
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index d131ca5a187..5e538674a24 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_prf.c,v 1.90 2017/04/30 13:04:49 mpi Exp $ */
+/* $OpenBSD: subr_prf.c,v 1.91 2017/04/30 16:45:46 mpi Exp $ */
/* $NetBSD: subr_prf.c,v 1.45 1997/10/24 18:14:25 chuck Exp $ */
/*-
@@ -201,7 +201,7 @@ panic(const char *fmt, ...)
#ifdef DDB
if (db_panic)
- Debugger();
+ db_enter();
else
db_stack_dump();
#endif
@@ -229,7 +229,7 @@ splassert_fail(int wantipl, int haveipl, const char *func)
case 3:
#ifdef DDB
db_stack_dump();
- Debugger();
+ db_enter();
#endif
break;
default:
diff --git a/sys/kern/subr_userconf.c b/sys/kern/subr_userconf.c
index e79d078d8e6..7a1e245e6e9 100644
--- a/sys/kern/subr_userconf.c
+++ b/sys/kern/subr_userconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_userconf.c,v 1.44 2015/09/11 07:13:58 miod Exp $ */
+/* $OpenBSD: subr_userconf.c,v 1.45 2017/04/30 16:45:46 mpi Exp $ */
/*
* Copyright (c) 1996-2001 Mats O Jansson <moj@stacken.kth.se>
@@ -1256,7 +1256,7 @@ userconf_parse(char *cmd)
break;
#if defined(DDB)
case 'D':
- Debugger();
+ db_enter();
break;
#endif
case 'd':
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 5129871ff8c..26839f730e9 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_witness.c,v 1.1 2017/04/20 12:59:36 visa Exp $ */
+/* $OpenBSD: subr_witness.c,v 1.2 2017/04/30 16:45:46 mpi Exp $ */
/*-
* Copyright (c) 2008 Isilon Systems, Inc.
@@ -30,8 +30,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * from BSDI $Id: subr_witness.c,v 1.1 2017/04/20 12:59:36 visa Exp $
- * and BSDI $Id: subr_witness.c,v 1.1 2017/04/20 12:59:36 visa Exp $
+ * from BSDI $Id: subr_witness.c,v 1.2 2017/04/30 16:45:46 mpi Exp $
+ * and BSDI $Id: subr_witness.c,v 1.2 2017/04/30 16:45:46 mpi Exp $
*/
/*
@@ -2521,5 +2521,5 @@ witness_debugger(int cond, const char *msg)
if (!cond)
return;
- Debugger();
+ db_enter();
}