diff options
author | Marin Ramesa <marin.ramesa@gmail.com> | 2013-07-06 14:11:29 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-06 22:56:34 +0200 |
commit | 681d4080940819dc522e61369f199577c2819367 (patch) | |
tree | cb12278e243bbf426f3ae92393d2de9c70e2897b /ddb/db_print.h | |
parent | 89701c6b02abcdfed54277ed5dd388d954621043 (diff) | |
download | gnumach-681d4080940819dc522e61369f199577c2819367.tar.gz gnumach-681d4080940819dc522e61369f199577c2819367.tar.bz2 gnumach-681d4080940819dc522e61369f199577c2819367.zip |
ddb: cleanup db_command.c
* ddb/db_write_cmd.h: New file.
(db_write_cmd): Add prototype.
Include <mach/boolean.h>.
Include <machine/db_machdep.h>.
* ddb/db_break.h (db_listbreak_cmd): Add prototype.
(db_delete_cmd): Likewise.
(db_breakpoint_cmd): Likewise.
* ddb/db_watch.h (db_listwatch_cmd): Likewise.
(db_deletewatch_cmd): Likewise.
(db_watchpoint_cmd): Likewise.
* ddb/db_print.h (db_show_one_thread): Likewise.
(db_show_all_threads): Likewise.
* ddb/db_examine.h (db_print_cmd): Likewise.
(db_examine_forward): Likewise.
(db_examine_backward): Likewise.
(db_search_cmd): Likewise.
* ddb/db_variables.h (db_set_cmd): Likewise.
* ddb/db_run.h (db_trace_until_call_cmd): Likewise.
(db_trace_until_matching_cmd): Likewise.
(db_continue_cmd): Likewise.
* ddb/db_command.h (db_fncall): Likewise.
* ddb/db_command.c: Include <ddb/db_break.h>.
Include <ddb/db_watch.h>.
Include <ddb/db_variables.h>.
Include <ddb/db_write_cmd.h>.
Include <ddb/db_run.h>.
Include <ddb/db_cond.h>.
(db_listbreak_cmd): Remove prototype.
(db_listwatch_cmd): Likewise.
(db_show_one_thread): Likewise.
(db_show_all_threads): Likewise.
(db_show_macro): Likewise.
(db_show_help): Likewise.
(db_print_cmd): Likewise.
(db_examine_cmd): Likewise.
(db_set_cmd): Likewise.
(db_examine_forward): Likewise.
(db_examine_backward): Likewise.
(db_search_cmd): Likewise.
(db_write_cmd): Likewise.
(db_delete_cmd): Likewise.
(db_breakpoint_cmd): Likewise.
(db_deletewatch_cmd): Likewise.
(db_watchpoint_cmd): Likewise.
(db_single_step_cmd): Likewise.
(db_trace_until_call_cmd): Likewise.
(db_trace_until_matching_cmd): Likewise.
(db_continue_cmd): Likewise.
(db_cond_cmd): Likewise.
(db_help_cmd): Likewise.
(db_def_macro_cmd): Likewise.
(db_del_macro_cmd): Likewise.
(db_fncall): Likewise.
Diffstat (limited to 'ddb/db_print.h')
-rw-r--r-- | ddb/db_print.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ddb/db_print.h b/ddb/db_print.h index 5f7a146d..898014e8 100644 --- a/ddb/db_print.h +++ b/ddb/db_print.h @@ -32,6 +32,18 @@ void db_show_port_id( db_expr_t count, char * modif); +void db_show_one_thread( + db_expr_t addr, + int have_addr, + db_expr_t count, + char * modif); + +void db_show_all_threads( + db_expr_t addr, + int have_addr, + db_expr_t count, + char * modif); + db_addr_t db_task_from_space( ipc_space_t space, int *task_id); |