aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-12-21 09:23:44 +0200
committerEli Zaretskii <eliz@gnu.org>2019-12-21 09:23:44 +0200
commit15b07e4f5672cf02487a26305ac3b2ddd0aec68e (patch)
tree1400db6ecb568c62f3f3de091799da23350ddc9a /gdb/top.c
parent39aa149769fd05fb6fade43bd41c1d7b6d63d06b (diff)
downloadbinutils-15b07e4f5672cf02487a26305ac3b2ddd0aec68e.zip
binutils-15b07e4f5672cf02487a26305ac3b2ddd0aec68e.tar.gz
binutils-15b07e4f5672cf02487a26305ac3b2ddd0aec68e.tar.bz2
Include xxHash support status in GDB configuration report
gdb/ChangeLog 2019-12-21 Eli Zaretskii <eliz@gnu.org> * top.c (print_gdb_configuration): Print "--with-xxhash" or "--without-xxhash" according to HAVE_LIBXXHASH.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c24
1 files changed, 16 insertions, 8 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 6f366ff..15bbe30 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1478,35 +1478,43 @@ This GDB was configured as follows:\n\
#endif
#if HAVE_LIBBABELTRACE
- fprintf_filtered (stream, _("\
+ fprintf_filtered (stream, _("\
--with-babeltrace\n\
"));
#else
- fprintf_filtered (stream, _("\
- --without-babeltrace\n\
+ fprintf_filtered (stream, _("\
+ --without-babeltrace\n \
"));
#endif
#if HAVE_LIBIPT
- fprintf_filtered (stream, _("\
+ fprintf_filtered (stream, _("\
--with-intel-pt\n\
"));
#else
- fprintf_filtered (stream, _("\
+ fprintf_filtered (stream, _("\
--without-intel-pt\n\
"));
#endif
#if HAVE_LIBMPFR
- fprintf_filtered (stream, _("\
+ fprintf_filtered (stream, _("\
--with-mpfr\n\
"));
#else
- fprintf_filtered (stream, _("\
+ fprintf_filtered (stream, _("\
--without-mpfr\n\
"));
#endif
-
+#if HAVE_LIBXXHASH
+ fprintf_filtered (stream, _("\
+ --with-xxhash\n\
+"));
+#else
+ fprintf_filtered (stream, _("\
+ --without-xxhash\n\
+"));
+#endif
#ifdef WITH_PYTHON_PATH
fprintf_filtered (stream, _("\
--with-python=%s%s\n\