From aadaced04d315665e3feb85a6631588a23566130 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 6 Jan 2005 19:52:06 +0000 Subject: SET_PC_REGS, tested by miod@ --- sys/arch/hppa/include/db_machdep.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch') 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 */ -- cgit v1.2.3