gdb: Convert language la_get_symbol_name_matcher field to a method
[deliverable/binutils-gdb.git] / gdb / dwarf2 / section.h
index f4ac9af311e26a5195504fe5a92dbaff19282b9f..02f42df78c6f662665376175e24b87c209233938 100644 (file)
@@ -94,6 +94,15 @@ struct dwarf2_section_info
     return size;
   }
 
+  /* Issue a complaint that something was outside the bounds of this
+     buffer.  */
+  void overflow_complaint () const;
+
+  /* Return pointer to string in this section at offset STR_OFFSET
+     with error reporting string FORM_NAME.  */
+  const char *read_string (struct objfile *objfile, LONGEST str_offset,
+                          const char *form_name);
+
   union
   {
     /* If this is a real section, the bfd section.  */
@@ -116,7 +125,4 @@ struct dwarf2_section_info
   bool is_virtual;
 };
 
-extern void dwarf2_section_buffer_overflow_complaint
-  (struct dwarf2_section_info *section);
-
 #endif /* GDB_DWARF2_SECTION_H */
This page took 0.023402 seconds and 4 git commands to generate.