summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ddb/db_command.c2
-rw-r--r--i386/i386/db_interface.h3
-rw-r--r--i386/i386at/model_dep.c1
3 files changed, 4 insertions, 2 deletions
diff --git a/ddb/db_command.c b/ddb/db_command.c
index c44e18c..833b720 100644
--- a/ddb/db_command.c
+++ b/ddb/db_command.c
@@ -332,8 +332,6 @@ struct db_command db_show_cmds[] = {
{ (char *)0, }
};
-extern void db_reset_cpu();
-
struct db_command db_command_table[] = {
#ifdef DB_MACHINE_COMMANDS
/* this must be the first entry, if it exists */
diff --git a/i386/i386/db_interface.h b/i386/i386/db_interface.h
index b0b11cf..e4ae140 100644
--- a/i386/i386/db_interface.h
+++ b/i386/i386/db_interface.h
@@ -96,6 +96,9 @@ db_stack_trace_cmd(
db_expr_t count,
char *modif);
+extern void
+db_reset_cpu(void);
+
#endif
extern void db_get_debug_state(
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
index 1a3aee8..5606639 100644
--- a/i386/i386at/model_dep.c
+++ b/i386/i386at/model_dep.c
@@ -78,6 +78,7 @@
Both of these are 0 if none is available. */
#if MACH_KDB
#include <ddb/db_sym.h>
+#include <i386/db_interface.h>
static vm_offset_t kern_sym_start, kern_sym_end;
#else /* MACH_KDB */
#define kern_sym_start 0