summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/ddb
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-02-12 22:41:36 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-02-12 22:41:36 +0000
commit9cf25eef3f26dabc6168f9d812f6c0d70c07d94d (patch)
tree58ff2671989533dd49eb4be80a98fe02fad6ed1b /sys/arch/powerpc/ddb
parent21346686bf5ddd8f650fec121ebd08f040ff15c2 (diff)
move ddb_regs decl from .h to .c to avoid common
Diffstat (limited to 'sys/arch/powerpc/ddb')
-rw-r--r--sys/arch/powerpc/ddb/db_trace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/powerpc/ddb/db_trace.c b/sys/arch/powerpc/ddb/db_trace.c
index 3f683851ba8..63214acd6fc 100644
--- a/sys/arch/powerpc/ddb/db_trace.c
+++ b/sys/arch/powerpc/ddb/db_trace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_trace.c,v 1.1 2002/06/08 16:02:14 miod Exp $ */
+/* $OpenBSD: db_trace.c,v 1.2 2003/02/12 22:41:35 jason Exp $ */
/* $NetBSD: db_trace.c,v 1.15 1996/02/22 23:23:41 gwr Exp $ */
/*
@@ -41,6 +41,8 @@
#include <ddb/db_interface.h>
#include <ddb/db_output.h>
+db_regs_t ddb_regs;
+
struct db_variable db_regs[] = {
{ "r0", (long *)&(DDB_REGS->tf.fixreg[0]), FCN_NULL },
{ "r1", (long *)&(DDB_REGS->tf.fixreg[1]), FCN_NULL },