[RFC] Fix comment for la_store_sym_names_in_linkage_form_p

Tom de Vries tdevries@suse.de
Thu Jun 13 13:50:00 GMT 2019


Hi,

The comment in gdb/language.h for la_store_sym_names_in_linkage_form_p
states:
...
/* True if the symbols names should be stored in GDB's data structures
   for minimal/partial/full symbols using their linkage (aka mangled)
   form; false if the symbol names should be demangled first.
...

And for C++, la_store_sym_names_in_linkage_form_p is false.

However, AFAICT, while partial and full symbols are stored mangled,
minimal symbols are stored mangled.

This patch fixes the comment to reflect the actual situation.

Any comments?

Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.patch
Type: text/x-patch
Size: 561 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20190613/fcc2ff7f/attachment.bin>


More information about the Gdb-patches mailing list