From 681d4080940819dc522e61369f199577c2819367 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Sat, 6 Jul 2013 14:11:29 +0200 Subject: ddb: cleanup db_command.c * ddb/db_write_cmd.h: New file. (db_write_cmd): Add prototype. Include . Include . * 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 . Include . Include . Include . Include . Include . (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. --- ddb/db_write_cmd.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ddb/db_write_cmd.h (limited to 'ddb/db_write_cmd.h') diff --git a/ddb/db_write_cmd.h b/ddb/db_write_cmd.h new file mode 100644 index 00000000..74bac54c --- /dev/null +++ b/ddb/db_write_cmd.h @@ -0,0 +1,16 @@ +#ifndef _DDB_DB_WRITE_CMD_H_ +#define _DDB_DB_WRITE_CMD_H_ + +#include +#include + +/* Prototypes for functions exported by this module. + */ + +void db_write_cmd( + db_expr_t address, + boolean_t have_addr, + db_expr_t count, + char * modif); + +#endif /* !_DDB_DB_WRITE_CMD_H_ */ -- cgit v1.2.3