summaryrefslogtreecommitdiff
path: root/sys/arch/socppc
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-02-28 11:56:41 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-02-28 11:56:41 +0000
commitd71624cd3c18dd1d4ac8d3ecf81ee9945712ba0b (patch)
tree23d43e4f42d2b69ebce2a9281c2714d6be07bf2e /sys/arch/socppc
parent9ad564563ebc703e8b33e3f25553861c9c3e7087 (diff)
Rename ddb_trap_glue() to db_trap_glue().
Let's keep the 'db_' prefix for all ddb(4) functions that should not be instrumented.
Diffstat (limited to 'sys/arch/socppc')
-rw-r--r--sys/arch/socppc/socppc/db_interface.c6
-rw-r--r--sys/arch/socppc/socppc/locore.S4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/socppc/socppc/db_interface.c b/sys/arch/socppc/socppc/db_interface.c
index 02a44a53a76..927a88b24ef 100644
--- a/sys/arch/socppc/socppc/db_interface.c
+++ b/sys/arch/socppc/socppc/db_interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.c,v 1.1 2008/05/10 12:02:21 kettenis Exp $ */
+/* $OpenBSD: db_interface.c,v 1.2 2016/02/28 11:56:40 mpi Exp $ */
/* $NetBSD: db_interface.c,v 1.12 2001/07/22 11:29:46 wiz Exp $ */
#include <sys/param.h>
@@ -10,7 +10,7 @@
#include <machine/db_machdep.h>
#include <ddb/db_extern.h>
-int ddb_trap_glue(struct trapframe *frame); /* called from locore */
+int db_trap_glue(struct trapframe *frame); /* called from locore */
void
Debugger()
@@ -19,7 +19,7 @@ Debugger()
}
int
-ddb_trap_glue(struct trapframe *frame)
+db_trap_glue(struct trapframe *frame)
{
if (!(frame->srr1 & PSL_PR)
&& (frame->exc == EXC_TRC
diff --git a/sys/arch/socppc/socppc/locore.S b/sys/arch/socppc/socppc/locore.S
index 6eac80e12fb..5dcdcc66b75 100644
--- a/sys/arch/socppc/socppc/locore.S
+++ b/sys/arch/socppc/socppc/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.18 2015/11/15 17:10:53 miod Exp $ */
+/* $OpenBSD: locore.S,v 1.19 2016/02/28 11:56:40 mpi Exp $ */
/* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */
/*
@@ -1310,7 +1310,7 @@ ddbtrap:
FRAME_SETUP(CI_DDBSAVE)
/* Call C trap code: */
addi %r3,%r1,8
- bl _C_LABEL(ddb_trap_glue)
+ bl _C_LABEL(db_trap_glue)
or. %r3,%r3,%r3
bne ddbleave
/* This wasn't for DDB, so switch to real trap: */