summaryrefslogtreecommitdiff
path: root/gdb/mdebugread.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-10 16:23:43 -0600
committerTom Tromey <tom@tromey.com>2019-01-10 07:08:09 -0700
commit0e8f53badb3df16f4104890395d9324a5bcf568d (patch)
tree9d7b5ce90ee961ff24e4d24bbf3d53cf7f21f349 /gdb/mdebugread.h
parent1910070b298052d7ca8e4024891465824588c1e9 (diff)
downloadbinutils-gdb-0e8f53badb3df16f4104890395d9324a5bcf568d.tar.gz
Move some declarations to mdebugread.h
This moves a couple of mdebugread-related declarations from symfile.h to mdebugread.h, which seemed more appropriate. gdb/ChangeLog 2019-01-10 Tom Tromey <tom@tromey.com> * symfile.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs): Don't declare. * mipsread.c: Include mdebugread.h. * mdebugread.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs): Declare. * elfread.c: Include mdebugread.h.
Diffstat (limited to 'gdb/mdebugread.h')
-rw-r--r--gdb/mdebugread.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/mdebugread.h b/gdb/mdebugread.h
index bf1c19f2e05..1b94ff8ee65 100644
--- a/gdb/mdebugread.h
+++ b/gdb/mdebugread.h
@@ -37,4 +37,13 @@ struct mdebug_extra_func_info
#define MDEBUG_EFI_SYMBOL_NAME "__GDB_EFI_INFO__"
+extern void mdebug_build_psymtabs (minimal_symbol_reader &,
+ struct objfile *,
+ const struct ecoff_debug_swap *,
+ struct ecoff_debug_info *);
+
+extern void elfmdebug_build_psymtabs (struct objfile *,
+ const struct ecoff_debug_swap *,
+ asection *);
+
#endif /* MDEBUGREAD_H */