This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20426] gdb does not interpret DWARF annotating imported units fully
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 29 Aug 2016 11:17:33 +0000
- Subject: [Bug gdb/20426] gdb does not interpret DWARF annotating imported units fully
- Auto-submitted: auto-generated
- References: <bug-20426-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20426
--- Comment #2 from Mark Wielaard <mjw at redhat dot com> ---
(In reply to Mark Wielaard from comment #1)
> In other DWARF consumers I have worked with following the specification or
> abstract origin attribute is used to augment the current DIE under
> consideration, not the other way around. To make it work the other way
> around a DWARF consumer would have to keep track of all references through
> DW_AT_specification or DW_AT_abstract_origin to a specific DIE.
And I think it is not a 1-on-1 relationship. There could be multiple DIEs
pointing to the same abstract_origin (maybe the function got cloned). So the
consumer might not even know which one to pick.
--
You are receiving this mail because:
You are on the CC list for the bug.