diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-22 17:47:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-22 17:47:04 +0000 |
commit | af562b21df90858ec607924c46766eacad3d1ac2 (patch) | |
tree | 8b5875d8814406f6bae49bd602665c8f0bf578e9 /sys/arch | |
parent | 659866913424727b3d2dab5ee0dba8d63c218186 (diff) |
Nuke ddb_regs common.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/alpha/db_interface.c | 4 | ||||
-rw-r--r-- | sys/arch/alpha/include/db_machdep.h | 4 |
2 files changed, 5 insertions, 3 deletions
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]) |