aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-03-31 19:22:18 +0300
committerEli Zaretskii <eliz@gnu.org>2022-03-31 19:22:18 +0300
commitfa8a0804b8fd7599367147754b4c82d555860374 (patch)
treee59d9a84e1fe1e812b5fe45f91d21c2dea6334c3
parent4f5539f026fafe2a3bf190dd86e95f87d75a00e7 (diff)
downloadgdb-fa8a0804b8fd7599367147754b4c82d555860374.zip
gdb-fa8a0804b8fd7599367147754b4c82d555860374.tar.gz
gdb-fa8a0804b8fd7599367147754b4c82d555860374.tar.bz2
* gdb/top.c (print_gdb_configuration): Announce --enable-threading.
This includes the reporting of --enable/disable-threading as part of the GDB configuration description.
-rw-r--r--gdb/top.c10
1 files changed, 10 insertions, 0 deletions
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\