mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 07:19:22 +02:00
FpDebug: unrolling stack, using CFI - fixed address in stack-entry (do not subtract 1)
This commit is contained in:
parent
f0a22e1596
commit
33556f939f
@ -718,10 +718,7 @@ begin
|
|||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// We do not strace-back to the return address, we need the calling-address.
|
NewCallStackEntry := TDbgCallstackEntry.create(Thread, NextIdx, FrameBase, ReturnAddress);
|
||||||
// This is difficult though. But we assume that ReturnAddress-1 is part of
|
|
||||||
// the instruction that made the call.
|
|
||||||
NewCallStackEntry := TDbgCallstackEntry.create(Thread, NextIdx, FrameBase, ReturnAddress-1);
|
|
||||||
|
|
||||||
// Fill other registers
|
// Fill other registers
|
||||||
for i := 0 to High(Row.RegisterArray) do
|
for i := 0 to High(Row.RegisterArray) do
|
||||||
|
Loading…
Reference in New Issue
Block a user