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/powerpc/include | |
parent | a489d26f9c81ec1e2b32444e6a158a7dc63fe84b (diff) |
SET_PC_REGS, arches tested between me and miod.
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r-- | sys/arch/powerpc/include/db_machdep.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/db_machdep.h b/sys/arch/powerpc/include/db_machdep.h index f99cb963fe3..9b491d237bc 100644 --- a/sys/arch/powerpc/include/db_machdep.h +++ b/sys/arch/powerpc/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.19 2003/12/21 15:17:30 miod Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.20 2005/01/04 21:14:35 espie Exp $ */ /* $NetBSD: db_machdep.h,v 1.13 1996/04/29 20:50:08 leo Exp $ */ /* @@ -53,6 +53,7 @@ extern db_regs_t ddb_regs; /* register state */ #define DDB_REGS (&ddb_regs) #define PC_REGS(regs) ((regs)->tf.srr0) +#define SET_PC_REGS(regs, value) PC_REGS(regs) = (value) #define BKPT_INST 0x7C810808 /* breakpoint instruction */ |