From fa8a0804b8fd7599367147754b4c82d555860374 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 31 Mar 2022 19:22:18 +0300 Subject: [PATCH] * gdb/top.c (print_gdb_configuration): Announce --enable-threading. This includes the reporting of --enable/disable-threading as part of the GDB configuration description. --- gdb/top.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gdb/top.c b/gdb/top.c index f12a2111a9a..e6786118a18 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1618,6 +1618,16 @@ This GDB was configured as follows:\n\ ")); #endif +#if CXX_STD_THREAD + fprintf_filtered (stream, _("\ + --enable-threading\n\ +")); +#else + fprintf_filtered (stream, _("\ + --disable-threading\n\ +")); +#endif + #ifdef RELOC_SRCDIR gdb_printf (stream, _("\ --with-relocated-sources=%s\n\ -- 2.30.2