public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] * gdb/top.c (print_gdb_configuration): Announce --enable-threading.
@ 2022-03-31 16:22 Eli Zaretskii
0 siblings, 0 replies; only message in thread
From: Eli Zaretskii @ 2022-03-31 16:22 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fa8a0804b8fd7599367147754b4c82d555860374
commit fa8a0804b8fd7599367147754b4c82d555860374
Author: Eli Zaretskii <eliz@gnu.org>
Date: Thu Mar 31 19:22:18 2022 +0300
* 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:
---
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\
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-31 16:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 16:22 [binutils-gdb] * gdb/top.c (print_gdb_configuration): Announce --enable-threading Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).