commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnumach] 08/56: Restore db_help_cmd


From: Samuel Thibault
Subject: [gnumach] 08/56: Restore db_help_cmd
Date: Sat, 28 Sep 2013 12:43:12 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository gnumach.

commit 0fa7401d334a7771d5c064572083e389b695a54b
Author: Samuel Thibault <address@hidden>
Date:   Sun Jul 7 19:09:23 2013 +0200

    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

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/gnumach.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]