This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug symtab/20899] "dwarf2_string_attr" does not check for "DW_FORM_GNU_str_index"


https://sourceware.org/bugzilla/show_bug.cgi?id=20899

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-8.0-branch branch has been updated by Simon Marchi
<simark@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=06848393c68c1b370cf2441756ed7413f4442515

commit 06848393c68c1b370cf2441756ed7413f4442515
Author: Leszek Swirski <leszeks@google.com>
Date:   Thu Oct 26 19:19:33 2017 -0400

    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.

    (cherry picked from commits 16eb6b2db49e6cf2fdca56efd37689fcc170cd37 and
    b33404388e5bbd8a1fddfde73cd4593ae2b557e8)

    gdb/ChangeLog:

        PR symtab/20899
        * dwarf2read.c (dwarf2_string_attr): Allow DW_FORM_GNU_str_index.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]