I have several versions of GCC and Clang compilers installed and used to build targets, each has a version of debugger gdb.exe.
How do ensure the the matching version is used for each build target?
Or should I just select one in Settings, debugger, for example
C:\Program Files\mingw-w64\x86_64-5.3.0-win32-seh-rt_v4-rev0\mingw64\bin\gdb.exe
(which is the most recent version)
and assume that this will work for all the compiler versions?
But is the Clang debugger different from GCC?
Thank you. Paul