* 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
* Re: Include --enable-threading in "gdb --config" output
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
0 siblings, 1 reply; 3+ messages in thread
From: Luis Machado @ 2022-03-28 13:41 UTC (permalink / raw)
To: Eli Zaretskii, gdb-patches
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Include --enable-threading in "gdb --config" output
2022-03-28 13:41 ` Luis Machado
@ 2022-03-31 16:23 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2022-03-31 16:23 UTC (permalink / raw)
To: Luis Machado; +Cc: gdb-patches
> Date: Mon, 28 Mar 2022 14:41:50 +0100
> From: Luis Machado <luis.machado@arm.com>
>
> 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.
No need to apologize. Thanks for the review.
Since there were no further comments, I've now installed this on the
master branch.
^ 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).