[Bug symtab/31626] [gdb/symtab] data races in gdb.rust/dwindex.exp

tromey at sourceware dot org sourceware-bugzilla@sourceware.org
Fri May 17 14:25:54 GMT 2024


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

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Both load_auto_scripts_for_objfile and gdb_bfd_map_section call
bfd_get_full_section_contents, which might seek/read.

The BFD threading approach is that really only one thread
can use a BFD at a time, so in this case we probably need
the locking in gdb.

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


More information about the Gdb-prs mailing list