From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1086) id 9680D3858D3C; Thu, 31 Mar 2022 16:22:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9680D3858D3C Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Eli Zaretskii To: gdb-cvs@sourceware.org Subject: [binutils-gdb] * gdb/top.c (print_gdb_configuration): Announce --enable-threading. X-Act-Checkin: binutils-gdb X-Git-Author: Eli Zaretskii X-Git-Refname: refs/heads/master X-Git-Oldrev: 4f5539f026fafe2a3bf190dd86e95f87d75a00e7 X-Git-Newrev: fa8a0804b8fd7599367147754b4c82d555860374 Message-Id: <20220331162242.9680D3858D3C@sourceware.org> Date: Thu, 31 Mar 2022 16:22:42 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2022 16:22:42 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dfa8a0804b8fd= 7599367147754b4c82d555860374 commit fa8a0804b8fd7599367147754b4c82d555860374 Author: Eli Zaretskii Date: Thu Mar 31 19:22:18 2022 +0300 * gdb/top.c (print_gdb_configuration): Announce --enable-threading. =20 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 =20 +#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=3D%s\n\