summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ddb/db_command.c3
-rw-r--r--ddb/db_command.h2
-rw-r--r--i386/i386/db_interface.h8
3 files changed, 11 insertions, 2 deletions
diff --git a/ddb/db_command.c b/ddb/db_command.c
index 1299cfa..c44e18c 100644
--- a/ddb/db_command.c
+++ b/ddb/db_command.c
@@ -54,6 +54,7 @@
#include <ddb/db_cond.h>
#include <machine/setjmp.h>
+#include <machine/db_interface.h>
#include <kern/debug.h>
#include <kern/thread.h>
#include <ipc/ipc_pset.h> /* 4proto */
@@ -331,8 +332,6 @@ struct db_command db_show_cmds[] = {
{ (char *)0, }
};
-void db_help_cmd();
-extern void db_stack_trace_cmd();
extern void db_reset_cpu();
struct db_command db_command_table[] = {
diff --git a/ddb/db_command.h b/ddb/db_command.h
index 2517a90..64e3b5c 100644
--- a/ddb/db_command.h
+++ b/ddb/db_command.h
@@ -73,6 +73,8 @@ extern boolean_t db_exec_cmd_nest(char *cmd, int size);
void db_fncall();
+void db_help_cmd(void);
+
#endif /* MACH_KDB */
#endif /* _DDB_DB_COMMAND_H_ */
diff --git a/i386/i386/db_interface.h b/i386/i386/db_interface.h
index 82bfec7..b0b11cf 100644
--- a/i386/i386/db_interface.h
+++ b/i386/i386/db_interface.h
@@ -88,6 +88,14 @@ extern void db_dr (
int type,
int len,
int persistence);
+
+extern void
+db_stack_trace_cmd(
+ db_expr_t addr,
+ boolean_t have_addr,
+ db_expr_t count,
+ char *modif);
+
#endif
extern void db_get_debug_state(