From fa8a0804b8fd7599367147754b4c82d555860374 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 31 Mar 2022 19:22:18 +0300 Subject: * 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(+) (limited to 'gdb/top.c') diff --git a/gdb/top.c b/gdb/top.c index f12a211..e678611 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\ -- cgit v1.1