mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 17:20:29 +02:00
LazDebugFp, FpDebug: TestAssert does not set exception frame. Adjust for line before return address
git-svn-id: trunk@63537 -
This commit is contained in:
parent
12b4254803
commit
d4275fa7e4
@ -3742,6 +3742,10 @@ begin
|
||||
Result := CList[f].AnAddress - 1;
|
||||
end;
|
||||
end;
|
||||
end
|
||||
else
|
||||
if (ABasePtr = 0) and (CurAddr <> 0) and (f > 0) then begin
|
||||
Result := CurAddr - 1; // found address on stack, so this is return address
|
||||
end;
|
||||
|
||||
if f > 0 then begin
|
||||
|
Loading…
Reference in New Issue
Block a user