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/loongson | |
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/loongson')
-rw-r--r-- | sys/arch/loongson/dev/bonito.c | 4 | ||||
-rw-r--r-- | sys/arch/loongson/loongson/generic2e_machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/loongson/loongson/machdep.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/loongson/dev/bonito.c b/sys/arch/loongson/dev/bonito.c index 7ccb4861f4f..0a0a1a42feb 100644 --- a/sys/arch/loongson/dev/bonito.c +++ b/sys/arch/loongson/dev/bonito.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bonito.c,v 1.31 2016/03/06 19:42:27 mpi Exp $ */ +/* $OpenBSD: bonito.c,v 1.32 2017/04/30 16:45:45 mpi Exp $ */ /* $NetBSD: bonito_mainbus.c,v 1.11 2008/04/28 20:23:10 martin Exp $ */ /* $NetBSD: bonito_pci.c,v 1.5 2008/04/28 20:23:28 martin Exp $ */ @@ -714,7 +714,7 @@ bonito_intr_dispatch(uint64_t isr, int startbit, struct trapframe *frame) REGVAL(BONITO_INTISR), REGVAL(BONITO_INTEN), frame->ipl, bonito_imask[frame->ipl]); #ifdef DDB - Debugger(); + db_enter(); #endif #endif } diff --git a/sys/arch/loongson/loongson/generic2e_machdep.c b/sys/arch/loongson/loongson/generic2e_machdep.c index 38df7a262b1..aa16917f7d9 100644 --- a/sys/arch/loongson/loongson/generic2e_machdep.c +++ b/sys/arch/loongson/loongson/generic2e_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: generic2e_machdep.c,v 1.8 2016/08/30 12:15:28 jsg Exp $ */ +/* $OpenBSD: generic2e_machdep.c,v 1.9 2017/04/30 16:45:45 mpi Exp $ */ /* * Copyright (c) 2010 Miodrag Vallat. @@ -308,7 +308,7 @@ generic2e_isa_intr(uint32_t hwpend, struct trapframe *frame) " isaimr %08x\n", ocw1, ocw2, frame->ipl, bonito_imask[frame->ipl], loongson_isaimr); #ifdef DDB - Debugger(); + db_enter(); #endif #endif } diff --git a/sys/arch/loongson/loongson/machdep.c b/sys/arch/loongson/loongson/machdep.c index 4f641a79824..3100d7cf40c 100644 --- a/sys/arch/loongson/loongson/machdep.c +++ b/sys/arch/loongson/loongson/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.76 2017/04/22 15:37:39 visa Exp $ */ +/* $OpenBSD: machdep.c,v 1.77 2017/04/30 16:45:45 mpi Exp $ */ /* * Copyright (c) 2009, 2010, 2014 Miodrag Vallat. @@ -859,7 +859,7 @@ mips_init(uint64_t argc, uint64_t argv, uint64_t envp, uint64_t cv, #ifdef DDB db_machine_init(); if (boothowto & RB_KDB) - Debugger(); + db_enter(); #endif /* |