aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-07-19 21:16:13 +0000
committerStan Shebs <shebs@codesourcery.com>1996-07-19 21:16:13 +0000
commitfcf05549562ba20a3d01f354674e078fee256caa (patch)
treec6246611e9685007748fd5254e57aca65aa1b380 /gdb/symfile.h
parent540cd16faf53c7e514ed617e8dcb17f3b37cff5f (diff)
downloadgdb-fcf05549562ba20a3d01f354674e078fee256caa.zip
gdb-fcf05549562ba20a3d01f354674e078fee256caa.tar.gz
gdb-fcf05549562ba20a3d01f354674e078fee256caa.tar.bz2
* dwarf2read.c: New file, DWARF 2 reader originally contributed by
Brent Benson, with additions by Gary Funck and Jerry Kreuscher. * Makefile.in (COMMON_OBS): Add dwarf2read.o. (SFILES): Add dwarf2read.c. (dwarf2read.o): Add build rule. * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare exported functions. * elfread.c (elf_symfile_read): Call them. (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 5921cbb..80a9927 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -205,6 +205,13 @@ extern void
dwarf_build_psymtabs PARAMS ((struct objfile *, struct section_offsets *, int,
file_ptr, unsigned int, file_ptr, unsigned int));
+/* From dwarf2read.c */
+
+extern int dwarf2_has_info PARAMS ((bfd *abfd));
+
+extern void dwarf2_build_psymtabs PARAMS ((struct objfile *,
+ struct section_offsets *,
+ int));
/* From mdebugread.c */
/* Hack to force structures to exist before use in parameter list. */