mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 12:19:16 +02:00
Fix initialization of TDbgLinuxProcess.AttachToInstance.
This commit is contained in:
parent
7e5b510a4e
commit
c219bac7dc
@ -917,7 +917,7 @@ function TDbgLinuxProcess.AttachToInstance(APid: Integer; out AnError: TFpError
|
||||
): boolean;
|
||||
begin
|
||||
Result := fpPTrace(PTRACE_ATTACH, APid, nil, Pointer(PTRACE_O_TRACECLONE)) = 0;
|
||||
|
||||
Init(APid, 0);
|
||||
// TODO: change the filename to the actual exe-filename. Load the correct dwarf info
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user