+2021-03-20 Tom Tromey <tom@tromey.com>
+
+ * symfile.h (enum dwarf2_section_enum)
+ (dwarf2_get_section_info): Move to dwarf2/read.h.
+ * dwarf2/read.h (enum dwarf2_section_enum)
+ (dwarf2_get_section_info): Move from symfile.h.
+
2021-03-19 Pedro Alves <pedro@palves.net>
* thread.c (any_thread_of_inferior): Check if there's a selected
/* When non-zero, dump line number entries as they are read in. */
extern unsigned int dwarf_line_debug;
+/* Dwarf2 sections that can be accessed by dwarf2_get_section_info. */
+enum dwarf2_section_enum {
+ DWARF2_DEBUG_FRAME,
+ DWARF2_EH_FRAME
+};
+
+extern void dwarf2_get_section_info (struct objfile *,
+ enum dwarf2_section_enum,
+ asection **, const gdb_byte **,
+ bfd_size_type *);
+
#endif /* DWARF2READ_H */
const struct dwarf2_debug_sections *,
bool = false);
-/* Dwarf2 sections that can be accessed by dwarf2_get_section_info. */
-enum dwarf2_section_enum {
- DWARF2_DEBUG_FRAME,
- DWARF2_EH_FRAME
-};
-
-extern void dwarf2_get_section_info (struct objfile *,
- enum dwarf2_section_enum,
- asection **, const gdb_byte **,
- bfd_size_type *);
-
/* A DWARF names index variant. */
enum class dw_index_kind
{