diff options
author | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2023-04-09 16:50:11 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2023-04-10 22:33:48 +0000 |
commit | f4b9c5e1bc4e704374f94e00f8a2ae75aec4cf28 (patch) | |
tree | cafe27ee9947f57524bb39e62e6928d443a4226b /gdb | |
parent | a0f6c61c9ab998cd77b0899a4bdea9576d6d775f (diff) | |
download | binutils-f4b9c5e1bc4e704374f94e00f8a2ae75aec4cf28.zip binutils-f4b9c5e1bc4e704374f94e00f8a2ae75aec4cf28.tar.gz binutils-f4b9c5e1bc4e704374f94e00f8a2ae75aec4cf28.tar.bz2 |
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>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/dwarf2/cooked-index.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/cooked-index.h b/gdb/dwarf2/cooked-index.h index f266492..0d6f3e5 100644 --- a/gdb/dwarf2/cooked-index.h +++ b/gdb/dwarf2/cooked-index.h @@ -442,7 +442,7 @@ private: vec_type m_vector; /* A future that tracks when the 'index_write' method is done. */ - std::future<void> m_write_future; + gdb::future<void> m_write_future; }; #endif /* GDB_DWARF2_COOKED_INDEX_H */ |