public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Luis Machado <luis.machado@arm.com>
To: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sourceware.org
Subject: Re: Include --enable-threading in "gdb --config" output
Date: Mon, 28 Mar 2022 14:41:50 +0100	[thread overview]
Message-ID: <ec665d43-1dcb-0386-f3cf-8d4d2a329e6e@arm.com> (raw)
In-Reply-To: <835yny9pc6.fsf@gnu.org>

On 3/28/22 14:30, Eli Zaretskii via Gdb-patches wrote:
> 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\

Looks like good information to print. Sorry I haven't included that earlier.

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-28 13:30 Eli Zaretskii
2022-03-28 13:41 ` Luis Machado [this message]
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=ec665d43-1dcb-0386-f3cf-8d4d2a329e6e@arm.com \
    --to=luis.machado@arm.com \
    --cc=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).