summaryrefslogtreecommitdiff
path: root/sys/ddb
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/ddb
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/ddb')
-rw-r--r--sys/ddb/db_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_usrreq.c b/sys/ddb/db_usrreq.c
index 40e736d67f4..678680cafe0 100644
--- a/sys/ddb/db_usrreq.c
+++ b/sys/ddb/db_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_usrreq.c,v 1.18 2016/09/04 09:22:29 mpi Exp $ */
+/* $OpenBSD: db_usrreq.c,v 1.19 2017/04/30 16:45:45 mpi Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff. All rights reserved.
@@ -96,7 +96,7 @@ ddb_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
if (securelevel < 1 ||
(pr->ps_flags & PS_CONTROLT && cn_tab &&
cn_tab->cn_dev == pr->ps_session->s_ttyp->t_dev)) {
- Debugger();
+ db_enter();
newp = NULL;
} else
return (ENODEV);