> From: Keith Marshall <keith****@users*****> > Date: Fri, 24 Jul 2020 21:37:10 +0100 > > $ gdb --config > This GDB was configured as follows: > configure --host=mingw32 --target=mingw32 > --with-auto-load-dir=$debugdir:$datadir/auto-load > --with-auto-load-safe-path=$debugdir:$datadir/auto-load > --with-expat > --with-gdb-datadir=C:/MinGW/share/gdb (relocatable) > --with-jit-reader-dir=C:/MinGW/lib/gdb (relocatable) > --without-libunwind-ia64 > --without-lzma > --without-babeltrace > --without-intel-pt > --with-mpfr > --without-xxhash > --with-python=C:/Python27 > --without-guile > --disable-source-highlight > --with-separate-debug-dir=C:/MinGW/lib/debug (relocatable) > --with-sysroot=C:/MinGW (relocatable) > --with-system-gdbinit=C:/MinGW/... (relocatable) > > ("Relocatable" means the directory can be moved with the GDB > installation tree, and GDB will still find it.) > > Note that "C:/Python27" is the default installation location, as set by > Python.org's MSI installer, (just as C:/MinGW is default for a MinGW > installation delivered by mingw-get). It appears that it will remain at > C:/Python27, even if a MinGW GDB installation is relocated elsewhere; > (C:/Python27 is not identified as relocatable, by "gdb --config"). Strange, it _is_ relocatable in my build of GDB 9.1: This GDB was configured as follows: configure --host=i686-pc-mingw32 --target=i686-pc-mingw32 --with-auto-load-dir=$debugdir;$datadir/../auto-load --with-auto-load-safe-path=$debugdir;$datadir/../auto-load --with-expat --with-gdb-datadir=d:/usr/share/gdb/9.1 (relocatable) --with-jit-reader-dir=d:/usr/lib/gdb (relocatable) --without-libunwind-ia64 --with-lzma --without-babeltrace --without-intel-pt --with-mpfr --with-xxhash --with-python=d:/usr/Python26 (relocatable) --with-guile --enable-source-highlight --with-separate-debug-dir=d:/usr/lib/debug (relocatable) --with-system-gdbinit=d:/usr/etc/gdbinit (relocatable)