]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Change cooked_index_worker to abstract base class
authorTom Tromey <tom@tromey.com>
Sun, 3 Dec 2023 19:34:49 +0000 (12:34 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 18 Jan 2024 15:20:16 +0000 (08:20 -0700)
commit47efef8f2d8a10b63d2c6125aded1d2da69d8a04
treefc94ec0ca473443e1218e1af36e4cb3fea5f44ef
parent6e53356b77887974e554ae07f9d76b83cd211700
Change cooked_index_worker to abstract base class

This changes cooked_index_worker to be an abstract base class.  The
base class implementation is moved to cooked-index.c, and a concrete
subclass is added to read.c.

This change is preparation for the new .debug_names reader, which will
supply its own concrete implementation of the worker.
gdb/dwarf2/cooked-index.c
gdb/dwarf2/cooked-index.h
gdb/dwarf2/read.c