]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Rename cooked-index-storage.[ch]
authorTom Tromey <tom@tromey.com>
Mon, 24 Mar 2025 21:03:04 +0000 (15:03 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 1 Apr 2025 13:30:10 +0000 (07:30 -0600)
commit115421b8507a6624178da5a2b2cd2befe36d411f
treee8bcfce7cf09c2984bd9309d87d56a167dd644a9
parent6c3458a8b7ee7d39f070c7b2350851cb2110c65a
Rename cooked-index-storage.[ch]

A discussion with Simon made me realize that cooked_index_storage
isn't a very clear name, especially now that it's escaped from read.c.
While it does provide some storage (I guess any object does in a
sense), it is really a helper for cooked_index_worker -- a temporary
object that is destroyed after reading has completed.

This patch renames this file.  Later patches will rename the class and
move cooked_index_worker here, something I think is reasonable given
that cooked_index_storage is really something of a helper class for
cooked_index_worker.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/Makefile.in
gdb/dwarf2/cooked-index-worker.c [moved from gdb/dwarf2/cooked-index-storage.c with 87% similarity]
gdb/dwarf2/cooked-index-worker.h [moved from gdb/dwarf2/cooked-index-storage.h with 96% similarity]
gdb/dwarf2/cooked-indexer.c
gdb/dwarf2/read.c