Fix thread-less build
authorTom Tromey <tom@tromey.com>
Tue, 9 Jan 2024 20:21:12 +0000 (13:21 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 9 Jan 2024 20:22:55 +0000 (13:22 -0700)
commit8baaed84cbc1abf6797016f36c1d9842631c777e
treeddec1a33140ad77ec18cbfca1469d7c6eae610ed
parentd006ec41c448d9f4a84df50391e87cbf0aa8c152
Fix thread-less build

A user pointed out that the recent background DWARF reader series
broke the build when --disable-threading is in use.  This patch fixes
the problem.  I am checking it in.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31223
gdb/dwarf2/cooked-index.h