mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 09:19:40 +02:00
FpDebug: Fix for FpGdbmi (Windows). FpGdbmi does not knew the LoadedAddr, replace the nil value with the default ImageBase.
This commit is contained in:
parent
4f8efdd21f
commit
1ba6c2f11a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user