aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2025-03-05 00:06:42 -0500
committerSimon Marchi <simon.marchi@efficios.com>2025-03-05 11:58:31 -0500
commit76ee822b86e86a548d00849202c10fdc0b397ac1 (patch)
tree7d055afe58415db4ffd51a79348e8744d91b9ebe /gdb/ada-lang.c
parentf99ba1e18d0f6a05685c1a5512614392af046828 (diff)
downloadbinutils-76ee822b86e86a548d00849202c10fdc0b397ac1.zip
binutils-76ee822b86e86a548d00849202c10fdc0b397ac1.tar.gz
binutils-76ee822b86e86a548d00849202c10fdc0b397ac1.tar.bz2
gdb/dwarf: make dwarf2_per_bfd::dwo_files a gdb::unordered_set
Change the dwarf2_per_bfd::dwo_files htab to a gdb::unordered_set. No behavior change expected, except maybe the failure case in lookup_dwo_cutu. If open_and_init_dwo_file returns nullptr, the previous code would leave the slot value empty (nullptr). Is this legit? With the new hash table, the only thing we can do really is not attempt to insert the nullptr value. Change-Id: I63992f388b1197e696ded4ea483634e8ae67fce4 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions