summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorMarin Ramesa <marin.ramesa@gmail.com>2013-07-04 23:12:21 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-04 23:13:03 +0200
commit69de4284334d34064b4b212734a2aab604acfe29 (patch)
tree85ac52b5c696f1ab984a1faa7a82f5c1e23e6d52 /ddb
parentd43c5a56a6c181b7b4f8f85998c4b8bc18827777 (diff)
ddb: fix implicit declarations
* ddb/db_break.c: Include ddb/db_access.h. * ddb/db_examine.h (db_xcdump): Add prototype. * ddb/db_ext_symtab.c: Include vm/vm_user.h. * ddb/db_input.c: Include device/cons.h. * ddb/db_output.c: Likewise.
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_break.c1
-rw-r--r--ddb/db_examine.h6
-rw-r--r--ddb/db_ext_symtab.c1
-rw-r--r--ddb/db_input.c1
-rw-r--r--ddb/db_output.c1
5 files changed, 10 insertions, 0 deletions
diff --git a/ddb/db_break.c b/ddb/db_break.c
index 9b1d604..7525392 100644
--- a/ddb/db_break.c
+++ b/ddb/db_break.c
@@ -46,6 +46,7 @@
#include <ddb/db_output.h>
#include <ddb/db_cond.h>
#include <ddb/db_expr.h>
+#include <ddb/db_access.h>
#define NBREAKPOINTS 100
#define NTHREAD_LIST (NBREAKPOINTS*3)
diff --git a/ddb/db_examine.h b/ddb/db_examine.h
index 96ad719..197f397 100644
--- a/ddb/db_examine.h
+++ b/ddb/db_examine.h
@@ -43,4 +43,10 @@ extern void db_print_loc_and_inst (
db_addr_t loc,
task_t task);
+int db_xcdump(
+ db_addr_t addr,
+ int size,
+ int count,
+ task_t task);
+
#endif /* _DDB_DB_EXAMINE_H_ */
diff --git a/ddb/db_ext_symtab.c b/ddb/db_ext_symtab.c
index 2434297..9831a01 100644
--- a/ddb/db_ext_symtab.c
+++ b/ddb/db_ext_symtab.c
@@ -33,6 +33,7 @@
#include <mach/vm_param.h>
#include <vm/vm_map.h>
#include <vm/vm_kern.h>
+#include <vm/vm_user.h>
#include <kern/host.h>
#include <kern/task.h>
#include <ddb/db_sym.h>
diff --git a/ddb/db_input.c b/ddb/db_input.c
index ce6a310..6e7fa00 100644
--- a/ddb/db_input.c
+++ b/ddb/db_input.c
@@ -32,6 +32,7 @@
#include <mach/boolean.h>
#include <machine/db_machdep.h>
+#include <device/cons.h>
#include <ddb/db_command.h>
#include <ddb/db_input.h>
#include <ddb/db_output.h>
diff --git a/ddb/db_output.c b/ddb/db_output.c
index 3ea2caa..ec73111 100644
--- a/ddb/db_output.c
+++ b/ddb/db_output.c
@@ -38,6 +38,7 @@
#include <stdarg.h>
#include <mach/boolean.h>
#include <machine/db_machdep.h>
+#include <device/cons.h>
#include <ddb/db_command.h>
#include <ddb/db_lex.h>
#include <ddb/db_output.h>