From 701823751bec1bbf2f1c96463994f894d33d2238 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 20 Mar 2021 17:23:40 -0600 Subject: 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 * 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. --- gdb/machoread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/machoread.c') diff --git a/gdb/machoread.c b/gdb/machoread.c index 0ff61e1..ff50ae5 100644 --- a/gdb/machoread.c +++ b/gdb/machoread.c @@ -32,6 +32,7 @@ #include "gdb_bfd.h" #include #include +#include "dwarf2/public.h" /* If non-zero displays debugging message. */ static unsigned int mach_o_debug_level = 0; -- cgit v1.1