Differences between Gold-produced gdb-index and GDB-produced gdb-index
Tom Tromey
tromey@redhat.com
Wed Oct 5 20:29:00 GMT 2011
>>>>> "Sterling" == Sterling Augustine <saugustine@google.com> writes:
Sterling> [Resend now that tromey is back.]
I just sent a reply a few minutes ago :-)
Maybe I was confused then though.
Sterling> A_A
Sterling> foo::B::B_B
Sterling> That seems wrong to me. Which is right? FWIW, Gold includes the enum
Sterling> name in both cases.
I think the right answer is A_A and foo::B_B.
I am not completely positive.
I think what you'd have to do is dig into gdb to see what is the right
answer for expression parsing, symbol lookup, etc; then make sure that
gdb actually uses this in its symbol tables. The index has to reflect
whatever gdb decides; but this does not necessarily imply that gdb is
presently correct.
Tom
More information about the Gdb
mailing list