This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] show configuration --without-python
- From: Dilyan Palauzov <dilyan dot palauzov at aegee dot org>
- To: gdb-patches at sourceware dot org
- Date: Tue, 14 Jul 2015 12:45:13 +0200
- Subject: [PATCH] show configuration --without-python
- Authentication-results: sourceware.org; auth=none
- Authentication-results: aegeeserv.aegee.org; auth=pass (PLAIN) smtp.auth=didopalauzov
- Authentication-results: mail.aegee.org; dkim=none
- Dkim-filter: OpenDKIM Filter v2.10.3 smtp.aegee.org t6EAivb6010767
Emit information upon "show configuration", if GDB has no Python
support, as it is done for Guile.
diff --git a/gdb/top.c b/gdb/top.c
index 1e30b1c..bd42641 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1326,6 +1326,10 @@ This GDB was configured as follows:\n\
fprintf_filtered (stream, _("\
--with-python=%s%s\n\
"), WITH_PYTHON_PATH, PYTHON_PATH_RELOCATABLE ? " (relocatable)" : "");
+#else
+ fprintf_filtered (stream, _("\
+ --without-python\n\
+"));
#endif
#if HAVE_GUILE
fprintf_filtered (stream, _("\