summaryrefslogtreecommitdiff
path: root/libdw/libdw.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-06-20 17:55:50 -0700
committerRoland McGrath <roland@redhat.com>2010-06-20 17:55:50 -0700
commit2b1f09548b66c2c75d5be6f13cd9374adc95f8d8 (patch)
tree35782d2db2a9f3bb01d8703da55b9a20cf3581c4 /libdw/libdw.h
parent5cc030d6169713ff4711c28a6ce1250b142cd5b3 (diff)
downloadelfutils-2b1f09548b66c2c75d5be6f13cd9374adc95f8d8.tar.gz
Finish .debug_types support in libdw and readelf.
Diffstat (limited to 'libdw/libdw.h')
-rw-r--r--libdw/libdw.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libdw/libdw.h b/libdw/libdw.h
index d244d919..d3e7a5ab 100644
--- a/libdw/libdw.h
+++ b/libdw/libdw.h
@@ -298,7 +298,7 @@ extern int dwarf_nextcu (Dwarf *dwarf, Dwarf_Off off, Dwarf_Off *next_off,
null, this reads a type unit from the .debug_types section; otherwise
this reads a CU from the .debug_info section. */
extern int dwarf_next_unit (Dwarf *dwarf, Dwarf_Off off, Dwarf_Off *next_off,
- size_t *header_sizep, uint16_t *versionp,
+ size_t *header_sizep, Dwarf_Half *versionp,
Dwarf_Off *abbrev_offsetp,
uint8_t *address_sizep, uint8_t *offset_sizep,
uint64_t *type_signaturep, Dwarf_Off *type_offsetp)
@@ -346,10 +346,15 @@ extern Dwarf_CFI *dwarf_getcfi_elf (Elf *elf);
extern int dwarf_cfi_end (Dwarf_CFI *cache);
-/* Return DIE at given offset. */
+/* Return DIE at given offset in .debug_types section. */
extern Dwarf_Die *dwarf_offdie (Dwarf *dbg, Dwarf_Off offset,
Dwarf_Die *result) __nonnull_attribute__ (3);
+/* Return DIE at given offset in .debug_types section. */
+extern Dwarf_Die *dwarf_offdie_types (Dwarf *dbg, Dwarf_Off offset,
+ Dwarf_Die *result)
+ __nonnull_attribute__ (3);
+
/* Return offset of DIE. */
extern Dwarf_Off dwarf_dieoffset (Dwarf_Die *die);