aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/leb.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2/leb.h')
-rw-r--r--gdb/dwarf2/leb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/dwarf2/leb.h b/gdb/dwarf2/leb.h
index 29fdffe..9c30cbe 100644
--- a/gdb/dwarf2/leb.h
+++ b/gdb/dwarf2/leb.h
@@ -130,4 +130,8 @@ extern LONGEST read_initial_length (bfd *abfd, const gdb_byte *buf,
unsigned int *bytes_read,
bool handle_nonstd = true);
+/* Read an offset from the data stream. */
+extern LONGEST read_offset (bfd *abfd, const gdb_byte *buf,
+ unsigned int offset_size);
+
#endif /* GDB_DWARF2_LEB_H */