summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-14 08:11:42 (GMT)
committerGitHub <noreply@github.com>2022-02-14 08:11:42 (GMT)
commit681aaef1f1ff39c341fdc529e0db2c14639a58d8 (patch)
treece98c2b3d9648db065d27add325370392a35d584 /config/debug/gdb.in
parentba680a3e5b8c62a7c1554e71f6d09903dac95a2f (diff)
parent86c2982568de1ad4d4cc12a65b19231331484405 (diff)
Merge pull request #1674 from stilor/master
Updates to make `ct-ng build-all` pass
Diffstat (limited to 'config/debug/gdb.in')
-rw-r--r--config/debug/gdb.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index aa3235e..741eeae 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -21,6 +21,13 @@ config GDB_DEP_CXX11
depends on !CONFIGURE_has_cxx11
select GDB_REQUIRE_older_than_8_0
+# GDB10 and newer require std::future<> which was not implemented on some
+# architectures until GCC9; see GCC PR 64735.
+config GDB_DEP_NO_STD_FUTURE
+ def_bool y
+ depends on !GCC_9_or_later
+ select GDB_REQUIRE_older_than_10
+
# Does GDB need ps_get_thread_area with const qualifier?
config GDB_CONST_GET_THREAD_AREA
bool
@@ -30,4 +37,4 @@ config GDB_CONST_GET_THREAD_AREA
# tarball (instead of a subdirectory of gdb)
config GDB_GDBSERVER_TOPLEVEL
def_bool y
- depends on GDB_10_2_or_later
+ depends on GDB_10_or_later