aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-20 17:23:40 -0600
committerTom Tromey <tom@tromey.com>2021-03-20 17:23:40 -0600
commit701823751bec1bbf2f1c96463994f894d33d2238 (patch)
treeae4422b4724505c1bcb6f977d278786494fcd903 /gdb/elfread.c
parent18038e6363e934634a45c6671b4808310a0035bb (diff)
downloadgdb-701823751bec1bbf2f1c96463994f894d33d2238.zip
gdb-701823751bec1bbf2f1c96463994f894d33d2238.tar.gz
gdb-701823751bec1bbf2f1c96463994f894d33d2238.tar.bz2
Introduce dwarf2/public.h
This moves some more DWARF code out of symfile.h and into a new header, dwarf2/public.h. This header is intended to describe the public API of the DWARF reader. gdb/ChangeLog 2021-03-20 Tom Tromey <tom@tromey.com> * coffread.c: Include dwarf2/public.h. * dwarf2/frame.c: Include dwarf2/public.h. * dwarf2/index-write.h: Include dwarf2/public.h, not symfile.h. * dwarf2/public.h: New file. * dwarf2/read.c: Include dwarf2/public.h. * elfread.c: Include dwarf2/public.h. * machoread.c: Include dwarf2/public.h. * symfile.h (dwarf2_has_info, enum dw_index_kind) (dwarf2_initialize_objfile, dwarf2_build_psymtabs) (dwarf2_build_frame_info): Move to dwarf2/public.h. * xcoffread.c: Include dwarf2/public.h.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index ce63d6b..8f06c8e 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -51,6 +51,7 @@
#include "gdbsupport/gdb_string_view.h"
#include "gdbsupport/scoped_fd.h"
#include "debuginfod-support.h"
+#include "dwarf2/public.h"
/* Forward declarations. */
extern const struct sym_fns elf_sym_fns_gdb_index;