mapped_index_base is no longer needed by the .debug_names reader, and so it could be moved into read-gdb-index.c. The main benefit is that this would shrink read.c a little. Also if/when we remove the index reader, this deletion would be simpler.
https://sourceware.org/pipermail/gdb-patches/2025-January/214805.html
The master branch has been updated by Tom Tromey <tromey@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=400f304b4fad79a952d959a42a719ac90ab3d50d commit 400f304b4fad79a952d959a42a719ac90ab3d50d Author: Tom Tromey <tromey@adacore.com> Date: Wed Jan 15 16:18:15 2025 -0700 Remove mapped_index_base The base class mapped_index_base is no longer needed. Previously it was used by both the .gdb_index and .debug_names readers, but the latter now uses the cooked index instead. This patch removes mapped_index_base, merging it into mapped_gdb_index. Supporting code that is specific to .gdb_index is also moved into read-gdb-index.c. This shrinks dwarf2/read.c a bit, which is nice. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32504 Approved-By: Andrew Burgess <aburgess@redhat.com>
Fixed.