gdb/
authorYao Qi <yao@codesourcery.com>
Wed, 17 Apr 2013 01:02:02 +0000 (01:02 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 17 Apr 2013 01:02:02 +0000 (01:02 +0000)
* top.c (print_gdb_configuration): Print configure-time
parameter on using libbabeltrace or not.

gdb/ChangeLog
gdb/top.c

index b6e547b..89d05f6 100644 (file)
@@ -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.
index 6a402ba..480b67e 100644 (file)
--- 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
 }
 \f