This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-8.0-branch] Fix dwarf2_string_attr for -gsplit-dwarf
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 26 Oct 2017 20:15:35 -0400
- Subject: [binutils-gdb/gdb-8.0-branch] Fix dwarf2_string_attr for -gsplit-dwarf
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 06848393c68c1b370cf2441756ed7413f4442515 ***
Author: Leszek Swirski <leszeks@google.com>
Branch: gdb-8.0-branch
Commit: 06848393c68c1b370cf2441756ed7413f4442515
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.
- Follow-Ups:
- Failures on Fedora-s390x-m64, branch gdb-8.0-branch
- Failures on Ubuntu-AArch64-native-gdbserver-m64, branch gdb-8.0-branch
- Failures on Ubuntu-AArch64-m64, branch gdb-8.0-branch
- Failures on Ubuntu-AArch32-m32, branch gdb-8.0-branch
- Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, branch gdb-8.0-branch
- Failures on Ubuntu-AArch32-native-gdbserver-m32, branch gdb-8.0-branch
- Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-8.0-branch
- Failures on Fedora-x86_64-native-gdbserver-m64, branch gdb-8.0-branch
- Failures on Fedora-x86_64-m64, branch gdb-8.0-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch gdb-8.0-branch
- Failures on Fedora-x86_64-m32, branch gdb-8.0-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-8.0-branch
- Failures on Fedora-i686, branch gdb-8.0-branch