diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-11-07 14:44:54 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-11-07 14:44:54 +0000 |
commit | 392203bfde253fa050437ddaa8ee3b1318f548f8 (patch) | |
tree | 7025a8dd1e49169e376e12822c39e8182ba29451 /sys/arch/i386/include | |
parent | 042875a50fdec4ba9787feb4ef9e130b4aa00d0b (diff) |
Convert db_addr_t -> vaddr_t but leave the typedef for now.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/db_machdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/db_machdep.h b/sys/arch/i386/include/db_machdep.h index 6ea4959a9f3..e8fc44d86f3 100644 --- a/sys/arch/i386/include/db_machdep.h +++ b/sys/arch/i386/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.28 2019/03/23 05:47:22 visa Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.29 2019/11/07 14:44:53 mpi Exp $ */ /* $NetBSD: db_machdep.h,v 1.9 1996/05/03 19:23:59 christos Exp $ */ /* @@ -44,7 +44,7 @@ typedef long db_expr_t; /* expression - signed */ typedef struct trapframe db_regs_t; extern db_regs_t ddb_regs; /* register state */ -#define PC_REGS(regs) ((db_addr_t)(regs)->tf_eip) +#define PC_REGS(regs) ((vaddr_t)(regs)->tf_eip) #define SET_PC_REGS(regs, value) (regs)->tf_eip = (int)(value) #define BKPT_INST 0xcc /* breakpoint instruction */ |