commit-hurd
[Top][All Lists]
Advanced

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

[gnumach] 06/56: ddb: use and cleanup db_print.h


From: Samuel Thibault
Subject: [gnumach] 06/56: ddb: use and cleanup db_print.h
Date: Sat, 28 Sep 2013 12:43:11 +0000

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

sthibault pushed a commit to branch master
in repository gnumach.

commit 89701c6b02abcdfed54277ed5dd388d954621043
Author: Marin Ramesa <address@hidden>
Date:   Fri Jul 5 00:13:52 2013 +0200

    ddb: use and cleanup db_print.h
    
    * ddb/db_command.c: Include db_print.h.
    Remove extern db_show_regs().
    Remove extern db_show_one_task().
    Remove extern db_show_port_id().
    * ddb/db_print.c: Include db_print.h
    * ddb/db_print.h (db_show_all_acts): Remove prototype.
    (db_show_one_act): Likewise.
    (db_show_shuttle): Likewise.
    (db_show_one_task_vm): Likewise.
    (db_show_all_task_vm): Likewise.
    (db_show_one_space): Likewise.
    (db_show_all_spaces): Likewise.
    (db_sys): Likewise.
    (db_port_kmsg_count): Likewise.
    (db_show_one_simple_lock): Likewise.
    (db_show_one_mutex): Likewise.
    (db_show_subsystem): Likewise.
    (db_show_runq): Likewise.
---
 ddb/db_command.c |    4 +--
 ddb/db_print.c   |    1 +
 ddb/db_print.h   |   71 ------------------------------------------------------
 3 files changed, 3 insertions(+), 73 deletions(-)

diff --git a/ddb/db_command.c b/ddb/db_command.c
index 1593e86..bcc507d 100644
--- a/ddb/db_command.c
+++ b/ddb/db_command.c
@@ -45,6 +45,7 @@
 #include <ddb/db_macro.h>
 #include <ddb/db_expr.h>
 #include <ddb/db_examine.h>
+#include <ddb/db_print.h>
 
 #include <machine/setjmp.h>
 #include <kern/debug.h>
@@ -301,14 +302,13 @@ db_command_list(last_cmdp, cmd_table)
  */
 extern void    db_listbreak_cmd();
 extern void    db_listwatch_cmd();
-extern void    db_show_regs(), db_show_one_thread(), db_show_one_task();
+extern void    db_show_one_thread();
 extern void    db_show_all_threads();
 extern void    db_show_macro();
 extern void    vm_map_print(), vm_object_print(), vm_page_print();
 extern void    vm_map_copy_print();
 extern void    ipc_port_print(), ipc_pset_print(), db_show_all_slocks();
 extern void    ipc_kmsg_print(), ipc_msg_print();
-extern void    db_show_port_id();
 void           db_show_help();
 
 struct db_command db_show_all_cmds[] = {
diff --git a/ddb/db_print.c b/ddb/db_print.c
index 5d0f150..4692e4c 100644
--- a/ddb/db_print.c
+++ b/ddb/db_print.c
@@ -51,6 +51,7 @@
 #include <ddb/db_variables.h>
 #include <ddb/db_sym.h>
 #include <ddb/db_task_thread.h>
+#include <ddb/db_print.h>
 
 extern unsigned int    db_maxoff;
 
diff --git a/ddb/db_print.h b/ddb/db_print.h
index 634c5be..5f7a146 100644
--- a/ddb/db_print.h
+++ b/ddb/db_print.h
@@ -20,91 +20,20 @@ void db_show_regs(
        db_expr_t       count,
        char            *modif);
 
-void db_show_all_acts(
-       db_expr_t       addr,
-       boolean_t       have_addr,
-       db_expr_t       count,
-       char *          modif);
-
-void db_show_one_act(
-       db_expr_t       addr,
-       boolean_t       have_addr,
-       db_expr_t       count,
-       char *          modif);
-
 void db_show_one_task(
        db_expr_t       addr,
        boolean_t       have_addr,
        db_expr_t       count,
        char *          modif);
 
-void db_show_shuttle(
-       db_expr_t       addr,
-       boolean_t       have_addr,
-       db_expr_t       count,
-       char *          modif);
-
 void db_show_port_id(
        db_expr_t       addr,
        boolean_t       have_addr,
        db_expr_t       count,
        char *          modif);
 
-void db_show_one_task_vm(
-       db_expr_t       addr,
-       boolean_t       have_addr,
-       db_expr_t       count,
-       char            *modif);
-
-void db_show_all_task_vm(
-       db_expr_t       addr,
-       boolean_t       have_addr,
-       db_expr_t       count,
-       char            *modif);
-
-void db_show_one_space(
-       db_expr_t       addr,
-       boolean_t       have_addr,
-       db_expr_t       count,
-       char *          modif);
-
-void db_show_all_spaces(
-       db_expr_t       addr,
-       boolean_t       have_addr,
-       db_expr_t       count,
-       char *          modif);
-
-void db_sys(void);
-
-int db_port_kmsg_count(
-       ipc_port_t      port);
-
 db_addr_t db_task_from_space(
        ipc_space_t     space,
        int             *task_id);
 
-void db_show_one_simple_lock(
-       db_expr_t       addr,
-       boolean_t       have_addr,
-       db_expr_t       count,
-       char *          modif);
-
-void db_show_one_mutex(
-       db_expr_t       addr,
-       boolean_t       have_addr,
-       db_expr_t       count,
-       char *          modif);
-
-void db_show_subsystem(
-       db_expr_t       addr,
-       boolean_t       have_addr,
-       db_expr_t       count,
-       char *          modif);
-
-void db_show_runq(
-       db_expr_t       addr,
-       boolean_t       have_addr,
-       db_expr_t       count,
-       char *          modif);
-
 #endif /* !_DDB_DB_PRINT_H_ */

-- 
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]