From 0fa7401d334a7771d5c064572083e389b695a54b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 7 Jul 2013 19:09:23 +0200 Subject: Restore db_help_cmd * ddb/db_command.c (db_help_cmd): Restore function. --- ddb/db_command.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ddb/db_command.c b/ddb/db_command.c index c032172..5e53b28 100644 --- a/ddb/db_command.c +++ b/ddb/db_command.c @@ -337,6 +337,7 @@ struct db_command db_show_cmds[] = { { (char *)0, } }; +void db_help_cmd(); extern void db_stack_trace_cmd(); extern void db_reset_cpu(); @@ -393,6 +394,18 @@ struct db_command *ptr; struct db_command *db_last_command = 0; +void +db_help_cmd() +{ + struct db_command *cmd = db_command_table; + + while (cmd->name != 0) { + db_printf("%-12s", cmd->name); + db_end_line(); + cmd++; + } +} + int (*ddb_display)(); void -- cgit v1.2.3