https://bugzilla.redhat.com/show_bug.cgi?id=1507150 diff -up gdb-7.12.1/gdb/dwarf2read.c.orig gdb-7.12.1/gdb/dwarf2read.c --- gdb-7.12.1/gdb/dwarf2read.c.orig 2017-10-30 20:57:55.729999711 -0200 +++ gdb-7.12.1/gdb/dwarf2read.c 2017-10-30 21:06:31.180999709 -0200 @@ -17306,7 +17306,7 @@ dwarf2_string_attr (struct die_info *die if (attr != NULL) { if (attr->form == DW_FORM_strp || attr->form == DW_FORM_string - || attr->form == DW_FORM_GNU_strp_alt) + || attr->form == DW_FORM_GNU_str_index || attr->form == DW_FORM_GNU_strp_alt) str = DW_STRING (attr); else complaint (&symfile_complaints,