From af562b21df90858ec607924c46766eacad3d1ac2 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 22 Jan 2004 17:47:04 +0000 Subject: Nuke ddb_regs common. --- sys/arch/alpha/alpha/db_interface.c | 4 +++- sys/arch/alpha/include/db_machdep.h | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/alpha/alpha/db_interface.c b/sys/arch/alpha/alpha/db_interface.c index b600fcd8848..ad399cc0bca 100644 --- a/sys/arch/alpha/alpha/db_interface.c +++ b/sys/arch/alpha/alpha/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.15 2003/02/19 19:32:44 miod Exp $ */ +/* $OpenBSD: db_interface.c,v 1.16 2004/01/22 17:47:01 miod Exp $ */ /* $NetBSD: db_interface.c,v 1.8 1999/10/12 17:08:57 jdolecek Exp $ */ /* @@ -79,6 +79,8 @@ extern char *trap_type[]; extern int trap_types; #endif +db_regs_t ddb_regs; + int db_active = 0; struct db_variable db_regs[] = { diff --git a/sys/arch/alpha/include/db_machdep.h b/sys/arch/alpha/include/db_machdep.h index 1ffa596cf85..783bdd2e225 100644 --- a/sys/arch/alpha/include/db_machdep.h +++ b/sys/arch/alpha/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.16 2003/10/18 20:14:41 jmc Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.17 2004/01/22 17:47:03 miod Exp $ */ /* * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -48,7 +48,7 @@ typedef vm_offset_t db_addr_t; typedef long db_expr_t; typedef struct trapframe db_regs_t; -db_regs_t ddb_regs; +extern db_regs_t ddb_regs; #define DDB_REGS (&ddb_regs) #define PC_REGS(regs) ((db_addr_t)(regs)->tf_regs[FRAME_PC]) -- cgit v1.2.3