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 b6e547b86147efce8b1da1517ede75a4879fe657..89d05f6180f5a6266c7f55ef2f481452d892099c 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 6a402bac86d0a0892995570572d73ea66241886c..480b67e9860de0016a2f33caa59ba02a4d92158c 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