mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 10:39:09 +02:00
FpDebug: Clean up, error will be set already
git-svn-id: trunk@61801 -
This commit is contained in:
parent
14ef5eb9fc
commit
5408d59907
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user