summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-03-30 18:24:05 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-03-30 18:24:05 +0000
commitb0e1884ff306947e19e268610be80b4bf70966de (patch)
tree0a37eff16ea29e6f1b269972ca89879d42474f72 /sys/arch/vax
parentc18f43043f8588eef533c6fe4c615b3e4aa87080 (diff)
Nuke common.
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/include/db_machdep.h4
-rw-r--r--sys/arch/vax/vax/db_machdep.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/vax/include/db_machdep.h b/sys/arch/vax/include/db_machdep.h
index 0355545a562..1ba91182883 100644
--- a/sys/arch/vax/include/db_machdep.h
+++ b/sys/arch/vax/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.11 2005/11/06 22:21:30 miod Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.12 2008/03/30 18:24:02 miod Exp $ */
/* $NetBSD: db_machdep.h,v 1.6 1998/08/10 14:33:33 ragge Exp $ */
/*
@@ -44,7 +44,7 @@ typedef vaddr_t db_addr_t; /* address - unsigned */
typedef long db_expr_t; /* expression - signed */
typedef struct trapframe db_regs_t;
-db_regs_t ddb_regs; /* register state */
+extern db_regs_t ddb_regs; /* register state */
#define DDB_REGS (&ddb_regs)
#define PC_REGS(regs) ((db_addr_t)(regs)->pc)
diff --git a/sys/arch/vax/vax/db_machdep.c b/sys/arch/vax/vax/db_machdep.c
index a535110293a..90be83f3809 100644
--- a/sys/arch/vax/vax/db_machdep.c
+++ b/sys/arch/vax/vax/db_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.c,v 1.17 2007/04/05 17:31:49 miod Exp $ */
+/* $OpenBSD: db_machdep.c,v 1.18 2008/03/30 18:24:04 miod Exp $ */
/* $NetBSD: db_machdep.c,v 1.17 1999/06/20 00:58:23 ragge Exp $ */
/*
@@ -67,6 +67,7 @@ extern label_t *db_recover;
void kdbprinttrap(int, int);
int db_active = 0;
+db_regs_t ddb_regs; /* register state */
extern int qdpolling;
static int splsave; /* IPL before entering debugger */