[RFA 2/6] Change representation of psymbol to flush out accessors

Tom Tromey tom@tromey.com
Mon Jun 4 18:11:00 GMT 2018


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

>> +  h = hash_continue (&psymbol->pginfo.name, sizeof (psymbol->pginfo.name), h);

Keith> I realize this is just a renaming of the existing code, but since
Keith> there is an accessor for `name', I think it better to use it (in
Keith> case someone ends up grepping for this).
[...]
Keith> Same here for PSYMBOL_LANGUAGE and PSYMBOL_LINKAGE_NAME?

I've made these changes locally.

Tom



More information about the Gdb-patches mailing list