FpDebug: Make Pointer deref work without item size. (In case size is not avail, or too big)

git-svn-id: trunk@61920 -
This commit is contained in:
martin 2019-09-24 23:36:40 +00:00
parent ac8e91f785
commit d7a8a70916

View File

@ -2106,7 +2106,7 @@ begin
ti := TypeInfo.TypeInfo; ti := TypeInfo.TypeInfo;
{$PUSH}{$R-}{$Q-} // TODO: check overflow {$PUSH}{$R-}{$Q-} // TODO: check overflow
if ti <> nil then if (ti <> nil) and (AIndex <> 0) then
AIndex := AIndex * ti.Size; AIndex := AIndex * ti.Size;
addr := GetDerefAddress; addr := GetDerefAddress;
if not IsTargetAddr(addr) then begin if not IsTargetAddr(addr) then begin