From b0e1884ff306947e19e268610be80b4bf70966de Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 30 Mar 2008 18:24:05 +0000 Subject: Nuke common. --- sys/arch/vax/include/db_machdep.h | 4 ++-- sys/arch/vax/vax/db_machdep.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/arch/vax') 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 */ -- cgit v1.2.3