Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] print '--with{,out}-babeltrace' in 'gdb --configuration'
@ 2013-04-12 14:48 Yao Qi
  2013-04-12 15:45 ` Eli Zaretskii
  2013-04-16  1:56 ` Doug Evans
  0 siblings, 2 replies; 22+ messages in thread
From: Yao Qi @ 2013-04-12 14:48 UTC (permalink / raw)
  To: gdb-patches

The recent committed CTF patch introduces a new configure option
'--with-babeltrace'.  This patch is to print the configure choice
in 'gdb --configuration'.  Is it OK?

gdb:

2013-04-12  Yao Qi  <yao@codesourcery.com>

	* top.c (print_gdb_configuration): Print configure-time
	parameter on using libbabeltrace or not.
---
 gdb/top.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

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
 }
 \f
 
-- 
1.7.7.6


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2013-07-06  7:36 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-12 14:48 [PATCH] print '--with{,out}-babeltrace' in 'gdb --configuration' Yao Qi
2013-04-12 15:45 ` Eli Zaretskii
2013-04-17 11:02   ` Yao Qi
2013-04-16  1:56 ` Doug Evans
2013-04-16 10:11   ` Eli Zaretskii
2013-04-17  7:40     ` Doug Evans
2013-04-17  9:40       ` Yao Qi
2013-04-17 10:02         ` Doug Evans
2013-04-17 12:54           ` Yao Qi
2013-04-17 22:44             ` Eli Zaretskii
2013-04-18  4:32               ` Doug Evans
2013-06-22 20:03                 ` Eli Zaretskii
2013-06-22 22:21                   ` Sergio Durigan Junior
2013-06-23  2:21                     ` Eli Zaretskii
2013-06-23  2:23                       ` Sergio Durigan Junior
2013-06-24 18:43                   ` Doug Evans
2013-06-24 19:03                     ` Eli Zaretskii
2013-06-24 19:04                       ` Doug Evans
2013-06-24 19:28                         ` Eli Zaretskii
2013-06-24 19:33                           ` Doug Evans
2013-07-06  7:36                         ` Eli Zaretskii
2013-04-17 14:21       ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox