Fix dwarf2_string_attr for -gsplit-dwarf
authorLeszek Swirski <leszeks@google.com>
Mon, 7 Aug 2017 14:40:38 +0000 (16:40 +0200)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 7 Aug 2017 14:40:46 +0000 (16:40 +0200)
commit16eb6b2db49e6cf2fdca56efd37689fcc170cd37
treec5647ff6fb8f8bf89f979475290f4632da351421
parentbab55c0522f47e692e367bfa341f4e19495cd8ad
Fix dwarf2_string_attr for -gsplit-dwarf

The dwarf2_string_attr did not allow DW_FORM_GNU_str_index as a form for
string types. This manifested as null strings in the namespace_name
lookup (replaced with "(anonymous namespace)") when debugging
Fission-compiled code.

gdb/ChangeLog:

* dwarf2read.c (dwarf2_string_attr): Allow DW_FORM_GNU_strp_alt.
gdb/ChangeLog
gdb/dwarf2read.c
This page took 0.026628 seconds and 4 git commands to generate.