From 69de4284334d34064b4b212734a2aab604acfe29 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 4 Jul 2013 23:12:21 +0200 Subject: 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. --- ddb/db_break.c | 1 + ddb/db_examine.h | 6 ++++++ ddb/db_ext_symtab.c | 1 + ddb/db_input.c | 1 + ddb/db_output.c | 1 + 5 files changed, 10 insertions(+) (limited to 'ddb') 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 #include #include +#include #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 #include #include +#include #include #include #include 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 #include +#include #include #include #include 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 #include #include +#include #include #include #include -- cgit v1.2.3