From ab11614906ce02b01fc6ef39b35757fa16a467f9 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 17 Apr 2013 01:02:02 +0000 Subject: [PATCH] gdb/ * top.c (print_gdb_configuration): Print configure-time parameter on using libbabeltrace or not. --- gdb/ChangeLog | 5 +++++ gdb/top.c | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b6e547b8614..89d05f6180f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-04-17 Yao Qi + + * top.c (print_gdb_configuration): Print configure-time + parameter on using libbabeltrace or not. + 2013-04-16 Pedro Alves * copyright.py (EXCLUDE_LIST): Add gdb/common/glibc_thread_db.h. diff --git a/gdb/top.c b/gdb/top.c index 6a402bac86d..480b67e9860 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 } -- 2.30.2