aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/aranges.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2024-01-14 11:20:39 -0700
committerTom Tromey <tom@tromey.com>2024-01-15 11:50:24 -0700
commita73afeff18db7304495bf7c42b25f3b93645b46f (patch)
tree637c219a28b680885790b6c38a777c78c570250c /gdb/dwarf2/aranges.c
parent85bfd77ee6c2cd73e04ea67966313a17edaad1c1 (diff)
downloadgdb-a73afeff18db7304495bf7c42b25f3b93645b46f.zip
gdb-a73afeff18db7304495bf7c42b25f3b93645b46f.tar.gz
gdb-a73afeff18db7304495bf7c42b25f3b93645b46f.tar.bz2
Remove addrmap_fixed::set_entry
It occurred to me that there is no reason for addrmap_fixed::set_entry to exist. This patch removes it and removes the abstract virtual function from the base class. This then required a few minor changes in the DWARF reader. I consider this a type-safety improvement. Tested by rebuilding. Reviewed-By: Tom de Vries <tdevries@suse.de>
Diffstat (limited to 'gdb/dwarf2/aranges.c')
-rw-r--r--gdb/dwarf2/aranges.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/aranges.c b/gdb/dwarf2/aranges.c
index 0a4ae63..4287a5a 100644
--- a/gdb/dwarf2/aranges.c
+++ b/gdb/dwarf2/aranges.c
@@ -26,7 +26,7 @@
bool
read_addrmap_from_aranges (dwarf2_per_objfile *per_objfile,
dwarf2_section_info *section,
- addrmap *mutable_map,
+ addrmap_mutable *mutable_map,
deferred_warnings *warn)
{
/* Caller must ensure that the section has already been read. */