summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_examine.c4
-rw-r--r--ddb/db_examine.h18
2 files changed, 16 insertions, 6 deletions
diff --git a/ddb/db_examine.c b/ddb/db_examine.c
index 31f77bd..3d2c42b 100644
--- a/ddb/db_examine.c
+++ b/ddb/db_examine.c
@@ -53,9 +53,6 @@ int db_examine_count = 1;
db_addr_t db_examine_prev_addr = 0;
thread_t db_examine_thread = THREAD_NULL;
-extern db_addr_t db_disasm(db_addr_t pc, boolean_t altform, task_t task);
- /* instruction disassembler */
-
/*
* Examine (print) data.
*/
@@ -343,7 +340,6 @@ db_strcpy(dst, src)
;
}
-void db_search(); /*forward*/
/*
* Search for a value in memory.
* Syntax: search [/bhl] addr value [mask] [,count] [thread]
diff --git a/ddb/db_examine.h b/ddb/db_examine.h
index e1fb1ee..e4f3415 100644
--- a/ddb/db_examine.h
+++ b/ddb/db_examine.h
@@ -61,8 +61,22 @@ int db_xcdump(
int count,
task_t task);
-void db_print_cmd();
+void db_print_cmd(void);
-void db_search_cmd();
+void db_search_cmd(void);
+
+void db_search(
+ db_addr_t addr,
+ int size,
+ db_expr_t value,
+ db_expr_t mask,
+ unsigned int count,
+ task_t task);
+
+/* instruction disassembler */
+extern db_addr_t db_disasm(
+ db_addr_t pc,
+ boolean_t altform,
+ task_t task);
#endif /* _DDB_DB_EXAMINE_H_ */