summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include/db_machdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax/include/db_machdep.h')
-rw-r--r--sys/arch/vax/include/db_machdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/vax/include/db_machdep.h b/sys/arch/vax/include/db_machdep.h
index aec47bb74d5..6ac6e275d12 100644
--- a/sys/arch/vax/include/db_machdep.h
+++ b/sys/arch/vax/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.9 2002/03/14 01:26:48 millert Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.10 2005/01/04 21:14:35 espie Exp $ */
/* $NetBSD: db_machdep.h,v 1.6 1998/08/10 14:33:33 ragge Exp $ */
/*
@@ -48,6 +48,7 @@ db_regs_t ddb_regs; /* register state */
#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->pc)
+#define SET_PC_REGS(regs, value) (regs)->pc = (long)(value)
#define BKPT_INST 0x03 /* breakpoint instruction */
#define BKPT_SIZE (1) /* size of breakpoint inst */