aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/section.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2/section.h')
-rw-r--r--gdb/dwarf2/section.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/dwarf2/section.h b/gdb/dwarf2/section.h
index 555efec..02f42df 100644
--- a/gdb/dwarf2/section.h
+++ b/gdb/dwarf2/section.h
@@ -98,6 +98,11 @@ struct dwarf2_section_info
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. */