]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add "Ada linkage" mode to cooked_index_entry::full_name
authorTom Tromey <tromey@adacore.com>
Tue, 3 Sep 2024 18:53:07 +0000 (12:53 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 6 Mar 2025 21:17:18 +0000 (14:17 -0700)
commitaab26529b304aed62095e47248a6b5e1c7590fdc
tree45ee0b3ff36d784adb1ad1ba151b15a5a2121890
parentc70ac07a791bf50ae9322a3096a3b8b1220e60c9
Add "Ada linkage" mode to cooked_index_entry::full_name

Unfortunately, due to some details of how the Ada support in gdb
currently works, the DWARF reader will still have to synthesize some
"full name" entries after the cooked index has been constructed.

You can see one particular finding related to this in:

    https://sourceware.org/bugzilla/show_bug.cgi?id=32142

This patch adds a new flag to cooked_index_entry::full_name to enable
the construction of these names.

I hope to redo this part of the Ada support eventually, so that this
code can be removed and the full-name entries simply not created.
gdb/dwarf2/cooked-index.c
gdb/dwarf2/cooked-index.h