FpDebug: Fix for FpGdbmi (Windows). FpGdbmi does not knew the LoadedAddr, replace the nil value with the default ImageBase.

This commit is contained in:
Martin 2022-03-21 17:43:43 +01:00
parent 4f8efdd21f
commit 1ba6c2f11a

View File

@ -426,6 +426,8 @@ end;
procedure TDbgImageReader.SetImageBase(ABase: QWord);
begin
FImageBase := ABase;
if FLoadedTargetImageAddr = 0 then
FLoadedTargetImageAddr := ABase;
end;
procedure TDbgImageReader.SetImageSize(ASize: QWord);