Hi list,

http://bugs.freepascal.org/view.php?id=22086
indicates macros are supported in the debugger path.

The location for gdb.exe in EnvironmentOptions.xml is set by default to
<DebuggerFilename Value="%LazDir%\mingw\bin\gdb.exe">

Would it make sense to create this directory structure
%LazDir%\mingw\bin\$(TargetCPU)\
or even
%LazDir%\mingw\bin\$(TargetCPU)-$(TargetOS)

This way, we could change the debugger depending on project target,
which helps if you have e.g. both x86 and x64 LCL installed:
<DebuggerFilename Value="%LazDir%\mingw\bin\%TargetCPU%-%TargetOS%\gdb.exe">

Only thing is: I don't know if TargetCPU and TargetOS are actually
supported: I tried looking for LazDir to see if it is an IDE macro
(which it presumably is??) in
http://wiki.lazarus.freepascal.org/IDE_Macros_in_paths_and_filenames
and didn't find anything.

Regards,
Reinier

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to