This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] show configuration --without-python (2)


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, _("\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]