diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-04-30 16:45:47 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-04-30 16:45:47 +0000 |
commit | e62fafe0fa1eeeb884ab8eaf16544bea713623e0 (patch) | |
tree | a8086015aa47b90f864ae82e4621f00dfa5b1fa4 /sys/arch/sh | |
parent | cae22d750b8ecab9026d8c9364adf6d4174e81c8 (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/arch/sh')
-rw-r--r-- | sys/arch/sh/dev/scif.c | 4 | ||||
-rw-r--r-- | sys/arch/sh/sh/db_interface.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sh/dev/scif.c b/sys/arch/sh/dev/scif.c index 0e29647480f..9a74057433e 100644 --- a/sys/arch/sh/dev/scif.c +++ b/sys/arch/sh/dev/scif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scif.c,v 1.16 2016/03/05 17:16:33 tobiasu Exp $ */ +/* $OpenBSD: scif.c,v 1.17 2017/04/30 16:45:45 mpi Exp $ */ /* $NetBSD: scif.c,v 1.47 2006/07/23 22:06:06 ad Exp $ */ /*- @@ -1133,7 +1133,7 @@ scifintr(void *arg) #ifdef DDB if (ISSET(sc->sc_hwflags, SCIF_HW_CONSOLE) && db_console != 0) { - Debugger(); + db_enter(); } #endif /* DDB */ } diff --git a/sys/arch/sh/sh/db_interface.c b/sys/arch/sh/sh/db_interface.c index 6c0de3baf2e..ca60506f1a8 100644 --- a/sys/arch/sh/sh/db_interface.c +++ b/sys/arch/sh/sh/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.9 2017/01/21 05:42:03 guenther Exp $ */ +/* $OpenBSD: db_interface.c,v 1.10 2017/04/30 16:45:45 mpi Exp $ */ /* $NetBSD: db_interface.c,v 1.37 2006/09/06 00:11:49 uwe Exp $ */ /*- @@ -147,7 +147,7 @@ db_ktrap(int type, int code, db_regs_t *regs) } void -Debugger(void) +db_enter(void) { __asm volatile("trapa %0" :: "i"(_SH_TRA_BREAK)); } |