diff options
Diffstat (limited to 'sys/arch/alpha/include/db_machdep.h')
-rw-r--r-- | sys/arch/alpha/include/db_machdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/include/db_machdep.h b/sys/arch/alpha/include/db_machdep.h index 7a5aadc64b6..d3eaf612c83 100644 --- a/sys/arch/alpha/include/db_machdep.h +++ b/sys/arch/alpha/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.3 1996/10/30 22:38:58 niklas Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.4 1997/03/21 00:48:43 niklas Exp $ */ /* $NetBSD: db_machdep.h,v 1.2 1996/07/11 05:31:31 cgd Exp $ */ /* @@ -52,6 +52,6 @@ db_regs_t ddb_regs; /* register state */ #define BKPT_SIZE (4) /* size of breakpoint inst */ #define BKPT_SET(inst) (BKPT_INST) -#define FIXUP_PC_AFTER_BREAK ddb_regs.tf_regs[FRAME_PC] -= BKPT_SIZE; +#define FIXUP_PC_AFTER_BREAK(regs) ((regs)->tf_regs[FRAME_PC] -= BKPT_SIZE) #endif /* _ALPHA_DB_MACHDEP_H_ */ |