This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Differences between Gold-produced gdb-index and GDB-produced gdb-index
- From: Tom Tromey <tromey at redhat dot com>
- To: Sterling Augustine <saugustine at google dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 05 Oct 2011 14:29:18 -0600
- Subject: Re: Differences between Gold-produced gdb-index and GDB-produced gdb-index
- References: <CAEG7qUykGLNyTpkHv9UvaX4jQWH1W2paj9qtWO6iR+Xy1MOaNA@mail.gmail.com>
>>>>> "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