public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: gdb-patches@sourceware.org
Subject: Include --enable-threading in "gdb --config" output
Date: Mon, 28 Mar 2022 16:30:33 +0300	[thread overview]
Message-ID: <835yny9pc6.fsf@gnu.org> (raw)

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\

             reply	other threads:[~2022-03-28 13:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-28 13:30 Eli Zaretskii [this message]
2022-03-28 13:41 ` Luis Machado
2022-03-31 16:23   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=835yny9pc6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).