Fix initialization of TDbgLinuxProcess.AttachToInstance.

This commit is contained in:
ccrause 2021-11-07 15:20:23 +02:00
parent 7e5b510a4e
commit c219bac7dc

View File

@ -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;