summaryrefslogtreecommitdiff
path: root/sys/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm')
-rw-r--r--sys/arch/arm/include/db_machdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm/include/db_machdep.h b/sys/arch/arm/include/db_machdep.h
index 640552199a6..ecd37bc6383 100644
--- a/sys/arch/arm/include/db_machdep.h
+++ b/sys/arch/arm/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.3 2005/01/03 16:49:56 miod Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.4 2005/01/05 15:49:30 miod Exp $ */
/* $NetBSD: db_machdep.h,v 1.5 2001/11/22 18:00:00 thorpej Exp $ */
/*
@@ -56,6 +56,7 @@ extern db_regs_t ddb_regs; /* register state */
#define PC_ADVANCE(regs) ((regs)->tf_r15 += 4)
#else
#define PC_REGS(regs) ((db_addr_t)(regs)->tf_pc)
+#define SET_PC_REGS(regs, value) (regs)->tf_pc = (register_t)(value)
#endif
#define BKPT_INST (KERNEL_BREAKPOINT) /* breakpoint instruction */