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/alpha/include/db_machdep.h | |
parent | a489d26f9c81ec1e2b32444e6a158a7dc63fe84b (diff) |
SET_PC_REGS, arches tested between me and miod.
Diffstat (limited to 'sys/arch/alpha/include/db_machdep.h')
-rw-r--r-- | sys/arch/alpha/include/db_machdep.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/db_machdep.h b/sys/arch/alpha/include/db_machdep.h index 783bdd2e225..41ed3499b84 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.17 2004/01/22 17:47:03 miod Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.18 2005/01/04 21:14:35 espie Exp $ */ /* * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -52,6 +52,7 @@ extern db_regs_t ddb_regs; #define DDB_REGS (&ddb_regs) #define PC_REGS(regs) ((db_addr_t)(regs)->tf_regs[FRAME_PC]) +#define SET_PC_REGS(regs, value) (regs)->tf_regs[FRAME_PC] = (unsigned long)(value) /* Breakpoint related definitions */ #define BKPT_INST 0x00000080 /* call_pal bpt */ |