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/armv7 | |
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/armv7')
-rw-r--r-- | sys/arch/armv7/armv7/armv7_machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/armv7/broadcom/bcm2836_intr.c | 4 | ||||
-rw-r--r-- | sys/arch/armv7/dev/pluart.c | 4 | ||||
-rw-r--r-- | sys/arch/armv7/omap/if_cpsw.c | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/armv7/armv7/armv7_machdep.c b/sys/arch/armv7/armv7/armv7_machdep.c index 0ee2189d67e..a2fcc8a6094 100644 --- a/sys/arch/armv7/armv7/armv7_machdep.c +++ b/sys/arch/armv7/armv7/armv7_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: armv7_machdep.c,v 1.47 2017/03/24 13:04:16 patrick Exp $ */ +/* $OpenBSD: armv7_machdep.c,v 1.48 2017/04/30 16:45:45 mpi Exp $ */ /* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */ /* @@ -790,7 +790,7 @@ initarm(void *arg0, void *arg1, void *arg2, paddr_t loadaddr) ddb_init(); if (boothowto & RB_KDB) - Debugger(); + db_enter(); #endif printf("board type: %u\n", board_id); diff --git a/sys/arch/armv7/broadcom/bcm2836_intr.c b/sys/arch/armv7/broadcom/bcm2836_intr.c index 05e935b627e..27028a08b76 100644 --- a/sys/arch/armv7/broadcom/bcm2836_intr.c +++ b/sys/arch/armv7/broadcom/bcm2836_intr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcm2836_intr.c,v 1.2 2016/08/07 18:43:17 kettenis Exp $ */ +/* $OpenBSD: bcm2836_intr.c,v 1.3 2017/04/30 16:45:45 mpi Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * Copyright (c) 2015 Patrick Wildt <patrick@blueri.se> @@ -447,7 +447,7 @@ bcm_intc_call_handler(int irq, void *frame) static int cnt = 0; if ((cnt++ % 100) == 0) { printf("irq %d fired * _100\n", irq); - Debugger(); + db_enter(); } } #endif diff --git a/sys/arch/armv7/dev/pluart.c b/sys/arch/armv7/dev/pluart.c index af078552f2f..cc03430bacb 100644 --- a/sys/arch/armv7/dev/pluart.c +++ b/sys/arch/armv7/dev/pluart.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pluart.c,v 1.3 2017/04/30 13:04:49 mpi Exp $ */ +/* $OpenBSD: pluart.c,v 1.4 2017/04/30 16:45:45 mpi Exp $ */ /* * Copyright (c) 2014 Patrick Wildt <patrick@blueri.se> @@ -314,7 +314,7 @@ pluart_intr(void *arg) #ifdef DDB if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) { if (db_console) - Debugger(); + db_enter(); continue; } #endif diff --git a/sys/arch/armv7/omap/if_cpsw.c b/sys/arch/armv7/omap/if_cpsw.c index 0fb3c9c92b9..2813e11cca0 100644 --- a/sys/arch/armv7/omap/if_cpsw.c +++ b/sys/arch/armv7/omap/if_cpsw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cpsw.c,v 1.42 2017/01/22 10:17:37 dlg Exp $ */ +/* $OpenBSD: if_cpsw.c,v 1.43 2017/04/30 16:45:45 mpi Exp $ */ /* $NetBSD: if_cpsw.c,v 1.3 2013/04/17 14:36:34 bouyer Exp $ */ /* @@ -1175,7 +1175,7 @@ cpsw_txintr(void *arg) cpsw_get_txdesc(sc, sc->sc_txhead, &bd); if (bd.buflen == 0) { - /* Debugger(); */ + /* db_enter(); */ } if ((bd.flags & CPDMA_BD_SOP) == 0) @@ -1268,7 +1268,7 @@ cpsw_miscintr(void *arg) stat = bus_space_read_4(sc->sc_bst, sc->sc_bsh, CPSW_CPDMA_RX_CP(0)); printf("CPSW_CPDMA_RX0_CP %x\n", stat); - /* Debugger(); */ + /* db_enter(); */ bus_space_write_4(sc->sc_bst, sc->sc_bsh, CPSW_CPDMA_DMA_INTMASK_CLEAR, dmastat); dmastat = bus_space_read_4(sc->sc_bst, sc->sc_bsh, CPSW_CPDMA_DMA_INTSTAT_MASKED); |