summaryrefslogtreecommitdiff
path: root/libdw/libdwP.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdw/libdwP.h')
-rw-r--r--libdw/libdwP.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libdw/libdwP.h b/libdw/libdwP.h
index 961fa4e7..5cbdc279 100644
--- a/libdw/libdwP.h
+++ b/libdw/libdwP.h
@@ -86,6 +86,13 @@ enum
IDX_last
};
+/* Valid indices for the string section's information. */
+enum string_section_index
+ {
+ STR_SCN_IDX_debug_line_str,
+ STR_SCN_IDX_debug_str,
+ STR_SCN_IDX_last
+ };
/* Error values. */
enum
@@ -169,6 +176,10 @@ struct Dwarf
/* The section data. */
Elf_Data *sectiondata[IDX_last];
+ /* Size of a prefix of string sections, where any string will be
+ null-terminated. */
+ size_t string_section_size[STR_SCN_IDX_last];
+
/* True if the file has a byte order different from the host. */
bool other_byte_order;