summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf_formstring.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2018-05-14 17:18:11 +0200
committerMark Wielaard <[email protected]>2018-05-19 12:46:19 +0200
commite9585375426b392cb887789fbf6068ab1f529d4a (patch)
treedaafb011f7bdd45b59a2c9308a8678644cad677c /libdw/dwarf_formstring.c
parenta7bcf4322f5e23a638c3b5b6f3cf62855865cc4a (diff)
libdw: Add GNU DebugFission attributes, tags, forms and operands.
Most are handled just like their DWARF5 counterparts. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/dwarf_formstring.c')
-rw-r--r--libdw/dwarf_formstring.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdw/dwarf_formstring.c b/libdw/dwarf_formstring.c
index 251784df..c3e892a8 100644
--- a/libdw/dwarf_formstring.c
+++ b/libdw/dwarf_formstring.c
@@ -1,5 +1,5 @@
/* Return string associated with given attribute.
- Copyright (C) 2003-2010, 2013, 2018 Red Hat, Inc.
+ Copyright (C) 2003-2010, 2013, 2017, 2018 Red Hat, Inc.
This file is part of elfutils.
This file is free software; you can redistribute it and/or modify
@@ -94,6 +94,7 @@ dwarf_formstring (Dwarf_Attribute *attrp)
switch (attrp->form)
{
case DW_FORM_strx:
+ case DW_FORM_GNU_str_index:
if (datap >= endp)
{
invalid: