aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.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/symfile.h
parent1910070b298052d7ca8e4024891465824588c1e9 (diff)
downloadbinutils-0e8f53badb3df16f4104890395d9324a5bcf568d.zip
binutils-0e8f53badb3df16f4104890395d9324a5bcf568d.tar.gz
binutils-0e8f53badb3df16f4104890395d9324a5bcf568d.tar.bz2
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/symfile.h')
-rw-r--r--gdb/symfile.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 8e548a0..64d5a23 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -610,16 +610,7 @@ extern bool dwarf2_initialize_objfile (struct objfile *objfile,
extern void dwarf2_build_psymtabs (struct objfile *);
extern void dwarf2_build_frame_info (struct objfile *);
-/* From mdebugread.c */
-
-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 *);
+void dwarf2_free_objfile (struct objfile *);
/* From minidebug.c. */