summaryrefslogtreecommitdiff
path: root/ddb/db_sym.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:53:32 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 05:52:33 +0900
commitbfcf9be868a79386a13635ea01a5c551d117eafd (patch)
tree42ae6196b911fa447ab418f653f06a4ce9500f37 /ddb/db_sym.c
parent95458404e12be506d6847baa7fbbf3aa8e709d60 (diff)
ddb: new header file db_aout.h
* Makefrag.am: Include ddb/db_aout.h. * ddb/db_aout.c: Include ddb/db_aout.h. * ddb/db_aout.h: New file. Add copyright. [_DDB_DB_AOUT_H_]: Add ifndef. Include ddb/db_sym.h. Include machine/db_machdep.h. (aout_db_line_at_pc, aout_db_lookup, aout_db_search_symbol, aout_db_symbol_values): Add prototypes. * ddb/db_sym.c: Include ddb/db_aout.h. (db_search_in_task_symbol, aout_db_line_at_pc, aout_db_lookup, aout_db_search_symbol, aout_db_symbol_values): Remove forward declarations. * ddb/db_sym.h (db_search_in_task_symbol): Add prototype.
Diffstat (limited to 'ddb/db_sym.c')
-rw-r--r--ddb/db_sym.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ddb/db_sym.c b/ddb/db_sym.c
index fede7dc..c0ad7bf 100644
--- a/ddb/db_sym.c
+++ b/ddb/db_sym.c
@@ -37,6 +37,7 @@
#include <ddb/db_output.h>
#include <ddb/db_sym.h>
#include <ddb/db_task_thread.h>
+#include <ddb/db_aout.h>
#include <vm/vm_map.h> /* vm_map_t */
@@ -287,9 +288,6 @@ db_name_is_ambiguous(sym_name)
return FALSE;
}
-
-db_sym_t db_search_in_task_symbol();
-
/*
* Find the closest symbol to val, and return its name
* and the difference between val and the symbol found.
@@ -509,10 +507,6 @@ void db_free_symbol(db_sym_t s)
* Switch into symbol-table specific routines
*/
-extern boolean_t aout_db_line_at_pc();
-extern db_sym_t aout_db_lookup(), aout_db_search_symbol();
-extern void aout_db_symbol_values();
-
extern boolean_t coff_db_sym_init(), coff_db_line_at_pc();
extern db_sym_t coff_db_lookup(), coff_db_search_symbol();
extern void coff_db_symbol_values();