FpDebug: Clean up, error will be set already

git-svn-id: trunk@61801 -
This commit is contained in:
martin 2019-09-02 00:44:45 +00:00
parent 14ef5eb9fc
commit 5408d59907

View File

@ -3182,10 +3182,8 @@ begin
Assert(self is TFpSymbolDwarfType); Assert(self is TFpSymbolDwarfType);
Result := False; Result := False;
if InformationEntry.GetAttribData(DW_AT_allocated, AttrData) then begin if InformationEntry.GetAttribData(DW_AT_allocated, AttrData) then begin
if not ConstRefOrExprFromAttrData(AttrData, AValueObj, t) then begin if not ConstRefOrExprFromAttrData(AttrData, AValueObj, t) then
SetLastError(CreateError(fpErrAnyError));
exit; exit;
end;
if t = 0 then begin if t = 0 then begin
AnAddress := NilLoc; AnAddress := NilLoc;
exit(True); exit(True);
@ -3193,10 +3191,8 @@ Assert(self is TFpSymbolDwarfType);
end; end;
if InformationEntry.GetAttribData(DW_AT_associated, AttrData) then begin if InformationEntry.GetAttribData(DW_AT_associated, AttrData) then begin
if not ConstRefOrExprFromAttrData(AttrData, AValueObj, t) then begin if not ConstRefOrExprFromAttrData(AttrData, AValueObj, t) then
SetLastError(CreateError(fpErrAnyError));
exit; exit;
end;
if t = 0 then begin if t = 0 then begin
AnAddress := NilLoc; AnAddress := NilLoc;
exit(True); exit(True);