diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-01-06 19:52:06 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-01-06 19:52:06 +0000 |
commit | aadaced04d315665e3feb85a6631588a23566130 (patch) | |
tree | f7c1e906b3d91b3ecfb806ff1c40f21fe2d07593 /sys/arch | |
parent | aae43c28fe305a87771df91a78f2ddf2742baac5 (diff) |
SET_PC_REGS, tested by miod@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/include/db_machdep.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/db_machdep.h b/sys/arch/hppa/include/db_machdep.h index 1b2fe787c40..427bd6b3e8b 100644 --- a/sys/arch/hppa/include/db_machdep.h +++ b/sys/arch/hppa/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.11 2004/06/17 00:34:58 mickey Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.12 2005/01/06 19:52:05 espie Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -44,6 +44,7 @@ extern db_regs_t ddb_regs; #define DDB_REGS (&ddb_regs) #define PC_REGS(regs) ((db_addr_t)(regs)->tf_iioq_head) +#define SET_PC_REGS(regs, value) (regs)->tf_iioq_head = (unsigned)(value) /* Breakpoint related definitions */ #define BKPT_INST 0x00010000 /* break 0,8 */ |