From: Eli Zaretskii Date: Thu, 31 Mar 2022 16:22:18 +0000 (+0300) Subject: * gdb/top.c (print_gdb_configuration): Announce --enable-threading. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa8a0804b8fd7599367147754b4c82d555860374;p=binutils-gdb.git * gdb/top.c (print_gdb_configuration): Announce --enable-threading. This includes the reporting of --enable/disable-threading as part of the GDB configuration description. --- 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\