]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove addrmap_fixed::set_entry
authorTom Tromey <tom@tromey.com>
Sun, 14 Jan 2024 18:20:39 +0000 (11:20 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 15 Jan 2024 18:50:24 +0000 (11:50 -0700)
commita73afeff18db7304495bf7c42b25f3b93645b46f
tree637c219a28b680885790b6c38a777c78c570250c
parent85bfd77ee6c2cd73e04ea67966313a17edaad1c1
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>
gdb/addrmap.c
gdb/addrmap.h
gdb/dwarf2/aranges.c
gdb/dwarf2/aranges.h
gdb/dwarf2/read.c