[Bug gdb/29286] SUMMARY: ThreadSanitizer: data race gdb/dwarf2/read.c:4100 in dw_expand_symtabs_matching_file_matcher

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Jul 14 18:50:27 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=29286

--- Comment #23 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #22)
> (In reply to Tom de Vries from comment #6)
> > Created attachment 14170 [details]
> > Tentative patch
> > 
> > (In reply to Tom Tromey from comment #5)
> > > (In reply to Tom de Vries from comment #1)
> > > > So in dw_expand_symtabs_matching_file_matcher we do:
> > > > ...
> > > >       per_cu->mark = 0;
> > > > ...
> > > > and in cooked_index::do_finalize:
> > > 
> > > I think probably cooked_index_functions::expand_symtabs_matching
> > > should wait for finalization to be done.
> > > 
> > 
> > I gave this a try, it works for the example, now testing.
> 
> Submitted as
> https://sourceware.org/pipermail/gdb-patches/2022-July/190743.html

https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=7d1a572d6b5194d36a96f36b3d28ce591341deb6

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list