summaryrefslogtreecommitdiffstats
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-04-30 16:45:45 +0000
committermpi <mpi@openbsd.org>2017-04-30 16:45:45 +0000
commite97088d66c8eee044cad550a3fd9fad00889544f (patch)
tree87f70243379801d20fcafe034629b00d243309c8 /sys/arch/macppc
parentsync (diff)
downloadwireguard-openbsd-e97088d66c8eee044cad550a3fd9fad00889544f.tar.xz
wireguard-openbsd-e97088d66c8eee044cad550a3fd9fad00889544f.zip
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/arch/macppc')
-rw-r--r--sys/arch/macppc/dev/macintr.c4
-rw-r--r--sys/arch/macppc/dev/openpic.c4
-rw-r--r--sys/arch/macppc/dev/pgs.c4
-rw-r--r--sys/arch/macppc/dev/sysbutton.c4
-rw-r--r--sys/arch/macppc/dev/zs.c4
-rw-r--r--sys/arch/macppc/macppc/machdep.c4
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/macppc/dev/macintr.c b/sys/arch/macppc/dev/macintr.c
index 6054216554d..135221ccfe1 100644
--- a/sys/arch/macppc/dev/macintr.c
+++ b/sys/arch/macppc/dev/macintr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macintr.c,v 1.53 2015/09/08 08:29:35 deraadt Exp $ */
+/* $OpenBSD: macintr.c,v 1.54 2017/04/30 16:45:45 mpi Exp $ */
/*-
* Copyright (c) 2008 Dale Rahn <drahn@openbsd.org>
@@ -249,7 +249,7 @@ macintr_prog_button (void *arg)
{
#ifdef DDB
if (db_console)
- Debugger();
+ db_enter();
#else
printf("programmer button pressed, debugger not available\n");
#endif
diff --git a/sys/arch/macppc/dev/openpic.c b/sys/arch/macppc/dev/openpic.c
index 5ea2438fa12..70c4c057f73 100644
--- a/sys/arch/macppc/dev/openpic.c
+++ b/sys/arch/macppc/dev/openpic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openpic.c,v 1.83 2015/09/08 08:29:35 deraadt Exp $ */
+/* $OpenBSD: openpic.c,v 1.84 2017/04/30 16:45:45 mpi Exp $ */
/*-
* Copyright (c) 2008 Dale Rahn <drahn@openbsd.org>
@@ -748,7 +748,7 @@ void
openpic_ipi_ddb(void)
{
#ifdef DDB
- Debugger();
+ db_enter();
#endif
}
#endif /* MULTIPROCESSOR */
diff --git a/sys/arch/macppc/dev/pgs.c b/sys/arch/macppc/dev/pgs.c
index fe2fe95017e..62aba5a1cb4 100644
--- a/sys/arch/macppc/dev/pgs.c
+++ b/sys/arch/macppc/dev/pgs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pgs.c,v 1.3 2013/07/01 16:53:24 jasper Exp $ */
+/* $OpenBSD: pgs.c,v 1.4 2017/04/30 16:45:45 mpi Exp $ */
/*
* Copyright (c) 2010 Jasper Lievisse Adriaanse <jasper@openbsd.org>
*
@@ -89,7 +89,7 @@ pgs_intr(void *v)
{
#ifdef DDB
if (db_console)
- Debugger();
+ db_enter();
#else
printf("programmer-switch pressed, debugger not available.\n");
#endif
diff --git a/sys/arch/macppc/dev/sysbutton.c b/sys/arch/macppc/dev/sysbutton.c
index 02c7fb70e98..e982d15d58e 100644
--- a/sys/arch/macppc/dev/sysbutton.c
+++ b/sys/arch/macppc/dev/sysbutton.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysbutton.c,v 1.4 2008/06/13 00:31:09 krw Exp $ */
+/* $OpenBSD: sysbutton.c,v 1.5 2017/04/30 16:45:45 mpi Exp $ */
/*
* Copyright (c) 2007 Gordon Willem Klok <gwk@openbsd.org>
*
@@ -85,7 +85,7 @@ sysbutton_intr(void *v)
*/
#ifdef DDB
if (db_console)
- Debugger();
+ db_enter();
#endif
return 1;
diff --git a/sys/arch/macppc/dev/zs.c b/sys/arch/macppc/dev/zs.c
index cd431bce357..47c3b8f090f 100644
--- a/sys/arch/macppc/dev/zs.c
+++ b/sys/arch/macppc/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.26 2016/03/14 23:08:05 krw Exp $ */
+/* $OpenBSD: zs.c,v 1.27 2017/04/30 16:45:45 mpi Exp $ */
/* $NetBSD: zs.c,v 1.17 2001/06/19 13:42:15 wiz Exp $ */
/*
@@ -1096,7 +1096,7 @@ zs_abort(struct zs_chanstate *channel)
extern int db_active;
if (!db_active)
- Debugger();
+ db_enter();
}
#endif
}
diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c
index 8e22d5cfc93..0b6548f9f4f 100644
--- a/sys/arch/macppc/macppc/machdep.c
+++ b/sys/arch/macppc/macppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.179 2016/10/09 11:25:40 tom Exp $ */
+/* $OpenBSD: machdep.c,v 1.180 2017/04/30 16:45:45 mpi Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -311,7 +311,7 @@ initppc(startkernel, endkernel, args)
#ifdef DDB
if (boothowto & RB_KDB)
- Debugger();
+ db_enter();
#endif
/*