diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-06-23 10:02:47 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-06-23 10:06:20 +0100 |
commit | 378258006c924e258f2433a94c1d9d7cb462e128 (patch) | |
tree | 30d4422c3ef8d45d5a98e7a882832ac6de9bd48c /gdb/top.c | |
parent | 1a79004f61a433112a218c04b0f1aa9f0f9d868d (diff) | |
download | gdb-378258006c924e258f2433a94c1d9d7cb462e128.zip gdb-378258006c924e258f2433a94c1d9d7cb462e128.tar.gz gdb-378258006c924e258f2433a94c1d9d7cb462e128.tar.bz2 |
gdb: Add --with-python-libdir to gdb's --configuration output
Commit:
commit d13c7322fe1266984024644154003a19664610ea
Date: Fri Jan 17 00:10:22 2020 +0000
gdb: Allow more control over where to find python libraries
Added a new configuration option --with-python-libdir, but failed to
add this option to the output of 'gdb --configuration'. This commit
fixes this mistake.
gdb/ChangeLog:
* top.c (print_gdb_configuration): Print --with-python-libdir
configuration value.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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, _("\ |