[PATCH v2 2/6] [gdb/symtab] Fix data race on bfd::{cacheable,format}

Tom Tromey tromey@adacore.com
Wed Aug 2 19:32:44 GMT 2023


>>>>> "Tom" == Tom de Vries via Gdb-patches <gdb-patches@sourceware.org> writes:

Tom> With gdb build with -fsanitize=thread and test-case gdb.base/index-cache.exp I
Tom> run into:

Thanks again.

Tom> -index_cache_store_context::index_cache_store_context (const index_cache &ic)
Tom> +index_cache_store_context::index_cache_store_context (const index_cache &ic,
Tom> +						      dwarf2_per_bfd *per_bfd)

Ok, I see why explicit isn't needed :)

This seems fine to me.
Approved-By: Tom Tromey <tom@tromey.com>


Tom


More information about the Gdb-patches mailing list