public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* Include --enable-threading in "gdb --config" output
@ 2022-03-28 13:30 Eli Zaretskii
  2022-03-28 13:41 ` Luis Machado
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2022-03-28 13:30 UTC (permalink / raw)
  To: gdb-patches

Any objections to installing the below on master?

--- gdb/top.c~	2022-03-20 06:59:56.000000000 +0200
+++ gdb/top.c	2022-03-28 16:27:31.211375000 +0300
@@ -1626,6 +1626,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
   fprintf_filtered (stream, _("\
 	     --with-relocated-sources=%s\n\

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-31 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 13:30 Include --enable-threading in "gdb --config" output Eli Zaretskii
2022-03-28 13:41 ` Luis Machado
2022-03-31 16:23   ` 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).