

In the current release of msys2, the version of gdb in c:\msys64\usr\bin is not compatible with the gdb that is shipped with the compiler (c:\msys64\mingw64\bin). Note that the compiler directory is before the make directory. This can be done as a win10 environment variable or set in the eclipse CDT project environment. Make sure that the PATH variable is like this: c:\msys64\mingw64\bin c:\msys64\usr\bin. In the past, I believe this was not an issue. Make is required to build Makefile based projects, thus must be on the path. This all comes about because make (an independent package) is also located in c:\msys64\usr\bin. The 64-bit gcc compiler is not compatible with the 32-bit (?) gdb located in binutils. For whatever reason, gdb is essentially located in two places: it is part of binutils (located at c:\msys64\usr\bin) and part of the 64-bit compiler release (located at c:\msys64\mingw64\bin). The basic problem is that gcc and gdb are not from the same release.
