Don't add type linkage names to cooked index
authorTom Tromey <tromey@adacore.com>
Fri, 14 Oct 2022 13:08:57 +0000 (07:08 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 17 Oct 2022 14:01:39 +0000 (08:01 -0600)
commitacd121de32c3924347f228d8f27000a09b9c8949
tree129fbf5fb2bcad2816e115d6312720994b7c4b7f
parent67e83a0deef78e9e286b663efd5a7144f09dbb95
Don't add type linkage names to cooked index

The compiler will sometimes emit a linkage name for a type, like:

    <1d3>   DW_AT_linkage_name: (indirect string, offset: 0x106f): 11__mbstate_t

These names aren't very useful, and this patch changes the DWARF
reader so that they are ignored by the cooked index.
gdb/dwarf2/read.c