This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Remove redundant symbol naming from new_symbol


The symbol name is set several times in new_symbol. These are not needed after the call to dwarf2_physname. They are also somewhat incorrect in that they directly set SYMBOL_LINKAGE_NAME instead of using SYMBOL_SET_NAMES. There are no regressions but if there are bugs they should be fixed in dwarf2_physname.

This patch removes the redundant calls.

Thanks,
  Sami

Attachment: new_symbol-cleanup.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]