diff options
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/arm/db_interface.c | 4 | ||||
-rw-r--r-- | sys/arch/arm/arm/undefined.c | 4 | ||||
-rw-r--r-- | sys/arch/arm/cortex/ampintc.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/arm/arm/db_interface.c b/sys/arch/arm/arm/db_interface.c index d740cd3f178..322eb123bf6 100644 --- a/sys/arch/arm/arm/db_interface.c +++ b/sys/arch/arm/arm/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.11 2016/04/20 07:59:25 mpi Exp $ */ +/* $OpenBSD: db_interface.c,v 1.12 2017/04/30 16:45:45 mpi Exp $ */ /* $NetBSD: db_interface.c,v 1.34 2003/10/26 23:11:15 chris Exp $ */ /* @@ -340,7 +340,7 @@ db_write_bytes(vaddr_t addr, size_t size, char *data) } void -Debugger(void) +db_enter(void) { asm(".word 0xe7ffffff"); } diff --git a/sys/arch/arm/arm/undefined.c b/sys/arch/arm/arm/undefined.c index 95a9d451b4c..afe94ef85b7 100644 --- a/sys/arch/arm/arm/undefined.c +++ b/sys/arch/arm/arm/undefined.c @@ -1,4 +1,4 @@ -/* $OpenBSD: undefined.c,v 1.9 2017/04/30 13:04:49 mpi Exp $ */ +/* $OpenBSD: undefined.c,v 1.10 2017/04/30 16:45:45 mpi Exp $ */ /* $NetBSD: undefined.c,v 1.22 2003/11/29 22:21:29 bjh21 Exp $ */ /* @@ -242,7 +242,7 @@ undefinedinstruction(trapframe_t *frame) if ((fault_code & FAULT_USER) == 0) { printf("Undefined instruction in kernel\n"); #ifdef DDB - Debugger(); + db_enter(); #endif } diff --git a/sys/arch/arm/cortex/ampintc.c b/sys/arch/arm/cortex/ampintc.c index 3cc51e2bd0b..9e917e7821c 100644 --- a/sys/arch/arm/cortex/ampintc.c +++ b/sys/arch/arm/cortex/ampintc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ampintc.c,v 1.19 2017/03/21 21:51:03 kettenis Exp $ */ +/* $OpenBSD: ampintc.c,v 1.20 2017/04/30 16:45:45 mpi Exp $ */ /* * Copyright (c) 2007,2009,2011 Dale Rahn <drahn@openbsd.org> * @@ -491,7 +491,7 @@ ampintc_irq_handler(void *frame) if ((cnt++ % 100) == 0) { printf("irq %d fired * _100\n", iack_val); #ifdef DDB - Debugger(); + db_enter(); #endif } |