Since this port has its own db_interface.c, we need to declare ddb_regs

here as well, after it moved out of db_machdep.h.
This commit is contained in:
he 2006-04-06 17:29:49 +00:00
parent 1b9747a00f
commit 7d6535cfe2

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_interface.c,v 1.8 2005/12/11 12:16:03 christos Exp $ */ /* $NetBSD: db_interface.c,v 1.9 2006/04/06 17:29:49 he Exp $ */
/* /*
* Copyright (c) 1996 Scott K. Stevens * Copyright (c) 1996 Scott K. Stevens
@ -35,7 +35,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.8 2005/12/11 12:16:03 christos Exp $"); __KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.9 2006/04/06 17:29:49 he Exp $");
#include "opt_ddb.h" #include "opt_ddb.h"
@ -97,6 +97,7 @@ const struct db_variable db_regs[] = {
const struct db_variable * const db_eregs = db_regs + sizeof(db_regs)/sizeof(db_regs[0]); const struct db_variable * const db_eregs = db_regs + sizeof(db_regs)/sizeof(db_regs[0]);
int db_active = 0; int db_active = 0;
db_regs_t ddb_regs; /* register state */
#ifdef __PROG32 #ifdef __PROG32
int db_access_und_sp(vp, valp, rw) int db_access_und_sp(vp, valp, rw)