[PATCH 0/5] Fix race when writing to index cache
Tom Tromey
tom@tromey.com
Sun Jan 28 16:28:04 GMT 2024
This series is mostly cleanup, in preparation for the final patch that
fixes a race when writing to the index cache.
---
Tom Tromey (5):
Rename members of index_cache_store_context
Capture directory in index_cache_store_context
Capture the per-BFD object in index_cache_store_context
Move the 'store' method to index_cache_store_context
Avoid race when writing to index cache
gdb/dwarf2/cooked-index.c | 28 ++++++++++++----------------
gdb/dwarf2/cooked-index.h | 16 ++++++++++------
gdb/dwarf2/index-cache.c | 33 +++++++++++++++++++--------------
gdb/dwarf2/index-cache.h | 19 +++++++++++--------
4 files changed, 52 insertions(+), 44 deletions(-)
---
base-commit: 3dfc29463ae08a45adb6f1f7bb2a5232c1a33151
change-id: 20240128-pr-31262-index-cache-race-0488a29d2d10
Best regards,
--
Tom Tromey <tom@tromey.com>
More information about the Gdb-patches
mailing list