projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f5539f
)
* gdb/top.c (print_gdb_configuration): Announce --enable-threading.
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 31 Mar 2022 16:22:18 +0000
(19:22 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 31 Mar 2022 16:22:18 +0000
(19:22 +0300)
This includes the reporting of --enable/disable-threading as part of
the GDB configuration description.
gdb/top.c
patch
|
blob
|
history
diff --git
a/gdb/top.c
b/gdb/top.c
index f12a2111a9aafc9c83f39f57668078e21b00b371..e6786118a188e092e25b2e209f36d679246801e9 100644
(file)
--- 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\