public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] * gdb/top.c (print_gdb_configuration): Announce --enable-threading. Date: Thu, 31 Mar 2022 16:22:42 +0000 (GMT) [thread overview] Message-ID: <20220331162242.9680D3858D3C@sourceware.org> (raw) 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\
reply other threads:[~2022-03-31 16:22 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220331162242.9680D3858D3C@sourceware.org \ --to=eliz@sourceware.org \ --cc=gdb-cvs@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: linkBe 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).