[PATCH v2 2/4] DWARF 5 support: Handle DW_FORM_strx
authorAli Tamur <tamur@google.com>
Tue, 27 Aug 2019 01:40:18 +0000 (18:40 -0700)
committerAli Tamur <tamur@google.com>
Tue, 1 Oct 2019 01:00:41 +0000 (18:00 -0700)
commit8fe0f950f4c0438e684a532add46dc99ee32165c
tree4f1847a8eb7903015aec81e9626b915243417c50
parentaf79fcc547dde358d66666c348e324e50bc2b125
[PATCH v2 2/4] DWARF 5 support: Handle DW_FORM_strx

* Handle DW_FORM_strx forms everywhere.

Tested with CC=/usr/bin/gcc (version 8.3.0) against master branch (also with
-gsplit-dwarf and -gdwarf-4 flags) and there was no increase in the set of
tests that fails.

This is part of an effort to support DWARF 5 in gdb.

gdb/ChangeLog:

        * dwarf2read.c (skip_one_die): Handle DW_FORM_strx forms.
        (dwarf2_string_attr): Likewise.
gdb/ChangeLog
gdb/dwarf2read.c