This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20403] New: Print whether gdb was compiled with python
- From: "dilyan.palauzov at aegee dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 24 Jul 2016 19:18:24 +0000
- Subject: [Bug gdb/20403] New: Print whether gdb was compiled with python
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20403
Bug ID: 20403
Summary: Print whether gdb was compiled with python
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: dilyan.palauzov at aegee dot org
Target Milestone: ---
As posted at https://sourceware.org/ml/gdb-patches/2015-07/msg00396.html:
show configuration --without-python
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, _("\
--
You are receiving this mail because:
You are on the CC list for the bug.