summaryrefslogtreecommitdiff
path: root/sys/arch/sh
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-04-27 11:10:49 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-04-27 11:10:49 +0000
commit1e4141c1d3d79de7aeafefbb8a9eadb645d3159d (patch)
treedd82e18dc85ef4998ed3ada0f93686b1654870e0 /sys/arch/sh
parent41dcc1a055b0bc8888ad5f53144b7aa9632f6e3b (diff)
G/C DDB_REGS.
Diffstat (limited to 'sys/arch/sh')
-rw-r--r--sys/arch/sh/include/db_machdep.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sh/include/db_machdep.h b/sys/arch/sh/include/db_machdep.h
index f8aed1ace73..83900af2bf0 100644
--- a/sys/arch/sh/include/db_machdep.h
+++ b/sys/arch/sh/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.7 2016/02/27 13:08:07 mpi Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.8 2016/04/27 11:10:48 mpi Exp $ */
/* $NetBSD: db_machdep.h,v 1.12 2006/05/10 06:24:03 skrll Exp $ */
/*
@@ -43,7 +43,6 @@ typedef long db_expr_t; /* expression - signed */
typedef struct trapframe db_regs_t;
extern db_regs_t ddb_regs; /* register state */
-#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->tf_spc)
#define PC_ADVANCE(regs) ((regs)->tf_spc += BKPT_SIZE)