mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-01 20:59:45 +01:00
FpDebugger (pure): Fixed compilation with fpc 2.6.4 on OS/X and Linux
git-svn-id: trunk@45874 -
This commit is contained in:
parent
681c6d7a8b
commit
636ffbe4da
@ -125,7 +125,9 @@ type
|
||||
FIsTerminating: boolean;
|
||||
FExceptionSignal: PtrUInt;
|
||||
function GetDebugAccessRights: boolean;
|
||||
{$ifndef VER2_6}
|
||||
procedure OnForkEvent(Sender : TObject);
|
||||
{$endif}
|
||||
protected
|
||||
function InitializeLoader: TDbgImageLoader; override;
|
||||
function CreateThread(AthreadIdentifier: THandle; out IsMainThread: boolean): TDbgThread; override;
|
||||
@ -215,7 +217,11 @@ end;
|
||||
|
||||
{ TDbgDarwinThread }
|
||||
|
||||
{$ifndef VER2_6}
|
||||
procedure TDbgDarwinProcess.OnForkEvent(Sender: TObject);
|
||||
{$else}
|
||||
procedure OnForkEvent;
|
||||
{$endif VER2_6}
|
||||
begin
|
||||
fpPTrace(PTRACE_TRACEME, 0, nil, nil);
|
||||
end;
|
||||
|
||||
@ -244,7 +244,9 @@ type
|
||||
FProcProcess: TProcess;
|
||||
FIsTerminating: boolean;
|
||||
FExceptionSignal: PtrUInt;
|
||||
{$ifndef VER2_6}
|
||||
procedure OnForkEvent(Sender : TObject);
|
||||
{$endif}
|
||||
protected
|
||||
function InitializeLoader: TDbgImageLoader; override;
|
||||
function CreateThread(AthreadIdentifier: THandle; out IsMainThread: boolean): TDbgThread; override;
|
||||
@ -284,7 +286,11 @@ end;
|
||||
|
||||
{ TDbgLinuxThread }
|
||||
|
||||
{$ifndef VER2_6}
|
||||
procedure TDbgLinuxProcess.OnForkEvent(Sender: TObject);
|
||||
{$else}
|
||||
procedure OnForkEvent;
|
||||
{$endif VER2_6}
|
||||
var
|
||||
e: integer;
|
||||
begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user