Differences between gdb-index as generated by Gold and GDB itself

Tom Tromey tromey@redhat.com
Wed Oct 5 19:01:00 GMT 2011


>>>>> "Sterling" == Sterling Augustine <saugustine@google.com> writes:

Sterling> That is, the enumerator inside the namespace includes the enum name,
Sterling> but the enumerator outside the namespace doesn't include the enum
Sterling> name. Is this a bug in GDB?

I think so.

Sterling> The index produced by gold does include the enumerator name, and is
Sterling> therefore inconsistent with GDB--I'm happy to fix one or the other,
Sterling> but I'm not sure which one is right.

I think the name of the enumerator should not contain the name of the
enum.

Tom



More information about the Gdb mailing list