aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-04-17 01:02:02 +0000
committerYao Qi <yao@codesourcery.com>2013-04-17 01:02:02 +0000
commitab11614906ce02b01fc6ef39b35757fa16a467f9 (patch)
tree4c326c4d4b518f2ce32626ba1ad0679356b58f5f
parentf51aeeb2953812f64db308e4442a402bf7645cc9 (diff)
downloadgdb-ab11614906ce02b01fc6ef39b35757fa16a467f9.zip
gdb-ab11614906ce02b01fc6ef39b35757fa16a467f9.tar.gz
gdb-ab11614906ce02b01fc6ef39b35757fa16a467f9.tar.bz2
gdb/
* top.c (print_gdb_configuration): Print configure-time parameter on using libbabeltrace or not.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/top.c9
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b6e547b..89d05f6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-17 Yao Qi <yao@codesourcery.com>
+
+ * top.c (print_gdb_configuration): Print configure-time
+ parameter on using libbabeltrace or not.
+
2013-04-16 Pedro Alves <palves@redhat.com>
* copyright.py (EXCLUDE_LIST): Add gdb/common/glibc_thread_db.h.
diff --git a/gdb/top.c b/gdb/top.c
index 6a402ba..480b67e 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1242,6 +1242,15 @@ This GDB was configured as follows:\n\
--without-zlib\n\
"));
#endif
+#if HAVE_LIBBABELTRACE
+ fprintf_filtered (stream, _("\
+ --with-babeltrace\n\
+"));
+#else
+ fprintf_filtered (stream, _("\
+ --without-babeltrace\n\
+"));
+#endif
}