summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-10-27 00:49:06 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-10-27 00:49:06 +0000
commit0b50c5b9692186b93f1cf7144c054d773eb8788b (patch)
tree8e14a2650d06288a112c93e188f66f3cfcff7a44 /sys/arch
parent426efcd1194ce0c3c9cd699d15ab8ff98d74c10e (diff)
use #ifdef DDB for Debugger()
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm/arm/pmap7.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm/arm/pmap7.c b/sys/arch/arm/arm/pmap7.c
index 4c3d4db69d4..926420640b7 100644
--- a/sys/arch/arm/arm/pmap7.c
+++ b/sys/arch/arm/arm/pmap7.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap7.c,v 1.16 2014/10/07 07:14:55 jsg Exp $ */
+/* $OpenBSD: pmap7.c,v 1.17 2014/10/27 00:49:05 jsg Exp $ */
/* $NetBSD: pmap.c,v 1.147 2004/01/18 13:03:50 scw Exp $ */
/*
@@ -2051,7 +2051,9 @@ pmap_fault_fixup(pmap_t pm, vaddr_t va, vm_prot_t ftype, int user)
if ((ftype & VM_PROT_EXECUTE) && (pte & L2_V7_S_XN)) {
printf("%s: va %08lx ftype %x %c pte %08x\n", __func__, va, ftype, user ? 'u' : 's', pte);
printf("fault on exec\n");
+#ifdef DDB
Debugger();
+#endif
/* XXX FIX THIS */
goto out;
}