Make addrmap const-correct in cooked index
authorTom Tromey <tromey@adacore.com>
Mon, 30 Jan 2023 15:29:36 +0000 (10:29 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 30 Jan 2023 16:55:07 +0000 (11:55 -0500)
commit70ca3a6bc9538d98a602325f4e84d18d0be491d1
tree57a773ea76c5acecca124809b37efbc2955ced24
parent5867ab870b8aa36ae490ec6e4e8e4c55be11ccf1
Make addrmap const-correct in cooked index

After the cooked index is created, the addrmaps should be const.

Change-Id: I8234520ab346ced40a8dd6e478ba21fc438c2ba2
gdb/dwarf2/cooked-index.c
gdb/dwarf2/cooked-index.h
gdb/dwarf2/index-write.c