summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 04793c9..34f435c 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_command.c,v 1.7 1994/08/18 22:34:20 wollman Exp $
+ * $Id: db_command.c,v 1.8 1994/08/27 16:14:08 davidg Exp $
*/
/*
@@ -309,6 +309,7 @@ extern void vm_page_print();
extern void db_ps();
extern void ipc_port_print();
void db_show_help();
+void db_panic();
struct command db_show_all_cmds[] = {
#if 0
@@ -364,6 +365,7 @@ struct command db_command_table[] = {
{ "call", db_fncall, CS_OWN, 0 },
{ "show", 0, 0, db_show_cmds },
{ "ps", db_ps, 0, 0 },
+ { "panic", db_panic, 0, 0 },
{ (char *)0, }
};
@@ -382,6 +384,12 @@ db_help_cmd()
}
void
+db_panic()
+{
+ panic("from debugger\n");
+}
+
+void
db_command_loop()
{
/*
OpenPOWER on IntegriCloud