aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/top.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 900a4c7..4ead538 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-21 Дилян Палаузов <dilyan.palauzov@aegee.org>
+
+ * top.c (print_gdb_configuration): Print "--without-python"
+ if GDB was configured without Python.
+
2018-12-21 Andrew Burgess <andrew.burgess@embecosm.com>
* riscv-tdep.c (riscv_scan_prologue): Use plongest to format
diff --git a/gdb/top.c b/gdb/top.c
index 4a0fedb..ac74cb3 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1428,6 +1428,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, _("\