This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/21335] New: Support DW_TAG_base_type with no name
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 30 Mar 2017 16:10:09 +0000
- Subject: [Bug gdb/21335] New: Support DW_TAG_base_type with no name
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21335
Bug ID: 21335
Summary: Support DW_TAG_base_type with no name
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: palves at redhat dot com
Target Milestone: ---
In order to address GCC PR80263 (gcc's internal type "sizetype" leaks out as
base type name in the DWARF info) [1], GCC may start emitting base types with
no name, which became valid with DWARF5.
>From page DWARF5, page 103:
A base type entry may have a DW_AT_name attribute whose value
is a null-terminated string containing the name of the base type as
recognized by the programming language of the compilation unit
containing the base type entry.
While in DWARF4 said:
A base type entry has a DW_AT_name attribute whose value is a
null-terminated string containing the name of the base type as
recognized by the programming language of the compilation unit
containing the base type entry.
We need to be sure that GDB supports this correctly before GCC stops emitting
the name.
--
You are receiving this mail because:
You are on the CC list for the bug.