]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Capture the per-BFD object in index_cache_store_context
authorTom Tromey <tom@tromey.com>
Sat, 27 Jan 2024 15:56:53 +0000 (08:56 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 9 Mar 2024 00:25:49 +0000 (17:25 -0700)
commitb183313dfa9bcb221f3276eccfda1d875431b6be
tree155a3ef0d3d18870fcb719bf3e2251203a2e1e21
parent2509ae7fb0f899ccf19126d1df8a7c31d5fe6aec
Capture the per-BFD object in index_cache_store_context

This changes index_cache_store_context to also capture the per-BFD
object when it is constructed.  This is used when storing to the
cache, and this approach makes the code a little simpler.
gdb/dwarf2/cooked-index.c
gdb/dwarf2/cooked-index.h
gdb/dwarf2/index-cache.c
gdb/dwarf2/index-cache.h