summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
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/amd64
parent41dcc1a055b0bc8888ad5f53144b7aa9632f6e3b (diff)
G/C DDB_REGS.
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/include/db_machdep.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/db_machdep.h b/sys/arch/amd64/include/db_machdep.h
index 4f2a5179697..64740270691 100644
--- a/sys/arch/amd64/include/db_machdep.h
+++ b/sys/arch/amd64/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.13 2016/02/27 13:08:06 mpi Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.14 2016/04/27 11:10:48 mpi Exp $ */
/* $NetBSD: db_machdep.h,v 1.2 2003/04/29 17:06:04 scw Exp $ */
/*
@@ -45,7 +45,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_rip)
#define SET_PC_REGS(regs, value) (regs)->tf_rip = (int64_t)(value)