gdb/dwarf: Fix MinGW build
authorThiago Jung Bauermann <thiago.bauermann@linaro.org>
Sun, 9 Apr 2023 16:50:11 +0000 (16:50 +0000)
committerThiago Jung Bauermann <thiago.bauermann@linaro.org>
Mon, 10 Apr 2023 22:33:48 +0000 (22:33 +0000)
commitf4b9c5e1bc4e704374f94e00f8a2ae75aec4cf28
treecafe27ee9947f57524bb39e62e6928d443a4226b
parenta0f6c61c9ab998cd77b0899a4bdea9576d6d775f
gdb/dwarf: Fix MinGW build

Unfortunately MinGW doesn't support std::future yet, so this causes the
build to fail.  Use GDB's version which provides a fallback for this case.

Tested for regressions on native aarch64-linux.

Approved-By: Tom Tromey <tromey@adacore.com>
gdb/dwarf2/cooked-index.h