> Am I missing something, or would it be an idea to add the debugger location into > the target dependent options ? You can use target/platform macros there. The default for the directory structure from the installer should be: $(LazarusDir)\mingw\bin\$(TargetCPU)-$(TargetOS)\gdb.exe