aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/top.c9
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a83f5af..cf1c037 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * top.c (print_gdb_configuration): Print --with-python-libdir
+ configuration value.
+
2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* NEWS: Mention change to the alias command.
diff --git a/gdb/top.c b/gdb/top.c
index da9b805..acd31af 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1567,6 +1567,15 @@ This GDB was configured as follows:\n\
--without-python\n\
"));
#endif
+#ifdef WITH_PYTHON_LIBDIR
+ fprintf_filtered (stream, _("\
+ --with-python-libdir=%s%s\n\
+"), WITH_PYTHON_LIBDIR, PYTHON_LIBDIR_RELOCATABLE ? " (relocatable)" : "");
+#else
+ fprintf_filtered (stream, _("\
+ --without-python-libdir\n\
+"));
+#endif
#if HAVE_LIBDEBUGINFOD
fprintf_filtered (stream, _("\