summaryrefslogtreecommitdiff
path: root/sys/kern/subr_prf.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-04-30 16:45:47 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-04-30 16:45:47 +0000
commite62fafe0fa1eeeb884ab8eaf16544bea713623e0 (patch)
treea8086015aa47b90f864ae82e4621f00dfa5b1fa4 /sys/kern/subr_prf.c
parentcae22d750b8ecab9026d8c9364adf6d4174e81c8 (diff)
Rename Debugger() into db_enter().
Using a name with the 'db_' prefix makes it invisible from the dynamic profiler. ok deraadt@, kettenis@, visa@
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r--sys/kern/subr_prf.c6
1 files changed, 3 insertions, 3 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: