when printing the GDB config, explicitly say if configured without python
When using the --configuration command line switch, or using the "show configuration" command with a version of GDB which was configured without Python supoprt, this patch changes the resulting output to include... --without-python ... instead of not printing anything about Python support. gdb/ChangeLog: * top.c (print_gdb_configuration): Print "--without-python" if GDB was configured without Python. Tested on x86_64-linux by rebuilding GDB with and without Python, and checking the output of "gdb --configuration" in both cases.
This commit is contained in:
parent
a96bd1ccc0
commit
50c7c5b8df
@ -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>
|
2018-12-21 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
* riscv-tdep.c (riscv_scan_prologue): Use plongest to format
|
* riscv-tdep.c (riscv_scan_prologue): Use plongest to format
|
||||||
|
@ -1428,6 +1428,10 @@ This GDB was configured as follows:\n\
|
|||||||
fprintf_filtered (stream, _("\
|
fprintf_filtered (stream, _("\
|
||||||
--with-python=%s%s\n\
|
--with-python=%s%s\n\
|
||||||
"), WITH_PYTHON_PATH, PYTHON_PATH_RELOCATABLE ? " (relocatable)" : "");
|
"), WITH_PYTHON_PATH, PYTHON_PATH_RELOCATABLE ? " (relocatable)" : "");
|
||||||
|
#else
|
||||||
|
fprintf_filtered (stream, _("\
|
||||||
|
--without-python\n\
|
||||||
|
"));
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_GUILE
|
#if HAVE_GUILE
|
||||||
fprintf_filtered (stream, _("\
|
fprintf_filtered (stream, _("\
|
||||||
|
Loading…
Reference in New Issue
Block a user