diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-01-04 21:14:36 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-01-04 21:14:36 +0000 |
commit | 9a39dbad38eec14f35f541cef78cd71d69ad695b (patch) | |
tree | c20955122c54aa90a95b9cdf468c6170329ace31 /sys/arch/mips64/include | |
parent | a489d26f9c81ec1e2b32444e6a158a7dc63fe84b (diff) |
SET_PC_REGS, arches tested between me and miod.
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r-- | sys/arch/mips64/include/db_machdep.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/db_machdep.h b/sys/arch/mips64/include/db_machdep.h index 54272538909..1c2885237ce 100644 --- a/sys/arch/mips64/include/db_machdep.h +++ b/sys/arch/mips64/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.5 2004/09/21 05:51:13 miod Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.6 2005/01/04 21:14:35 espie Exp $ */ /* * Copyright (c) 1998-2003 Opsycon AB (www.opsycon.se) @@ -54,6 +54,7 @@ db_addr_t next_instr_address __P((db_addr_t, boolean_t)); #define IS_WATCHPOINT_TRAP(type, code) (0) /* XXX mips3 watchpoint */ #define PC_REGS(regs) ((db_addr_t)(regs)->pc) +#define SET_PC_REGS(regs, value) (regs)->pc = (register_t)(value) #define DDB_REGS (&ddb_regs) /* |