This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] show configuration --without-python (2)
- From: Дилян Палаузов <dilyan dot palauzov at aegee dot org>
- To: gdb-patches at sourceware dot org
- Date: Wed, 12 Dec 2018 08:01:55 +0000
- Subject: [PATCH] show configuration --without-python (2)
- References: <55A4E839.504@aegee.org>
Any progress here?
On Tue, 2015-07-14 at 12:45 +0200, Dilyan Palauzov wrote:
> 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, _("\