http://sourceware.org/bugzilla/show_bug.cgi?id=15021
Bug #: 15021
Summary: Gold generated index difference from gdb: symbols from
TUs reference the containing CU
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Given:
enum foo { foo0, foo1, foo2, foo3 };
int
main ()
{
return foo0;
}
and compiled with -gdwarf-4 -fdebug-types-section,
the .gdb_index generated by gold will record that the enum comes from the CU,
whereas the .gdb_index generated by gdb will record the enum comes from the TU.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils