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 gdb/20426] gdb does not interpret DWARF annotating imported units fully


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.

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