Debugger: remove ifdef CD_Cocoa

This commit is contained in:
Martin 2023-01-09 16:46:19 +01:00
parent 3ea1675362
commit e90e3d0637

View File

@ -8,7 +8,7 @@ uses
Classes, SysUtils, Types, Forms, Controls, StdCtrls, ComCtrls, ExtCtrls, Classes, SysUtils, Types, Forms, Controls, StdCtrls, ComCtrls, ExtCtrls,
Dialogs, Buttons, GDBMIDebugger, DbgIntfDebuggerBase, FileUtil, LazFileUtils, Dialogs, Buttons, GDBMIDebugger, DbgIntfDebuggerBase, FileUtil, LazFileUtils,
IDEDialogs, IDEUtils, IDEImagesIntf, FileProcs, FpDebugDebugger, IDEDialogs, IDEUtils, IDEImagesIntf, FileProcs, FpDebugDebugger,
{$If defined(Darwin) or defined(CD_Cocoa)} FpLldbDebugger, {$ENDIF} {$Ifdef Darwin} FpLldbDebugger, {$ENDIF}
IdeDebuggerOpts, LazarusIDEStrConsts, InitialSetupProc, IdeDebuggerOpts, LazarusIDEStrConsts, InitialSetupProc,
EnvironmentOpts, LazConf, StrUtils; EnvironmentOpts, LazConf, StrUtils;
@ -206,7 +206,7 @@ begin
Result := TFpDebugDebugger; Result := TFpDebugDebugger;
{$ElseIf defined(Linux)} {$ElseIf defined(Linux)}
Result := TFpDebugDebugger; Result := TFpDebugDebugger;
{$ElseIf defined(Darwin) or defined(CD_Cocoa)} {$ElseIf defined(Darwin)}
Result := TFpLldbDebugger; Result := TFpLldbDebugger;
{$ENDIF} {$ENDIF}
if dfNotSuitableForOsArch in Result.SupportedFeatures then if dfNotSuitableForOsArch in Result.SupportedFeatures then