mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-20 11:59:26 +02:00
FpDebug: Fix searching frame by BasePointer
git-svn-id: trunk@63533 -
This commit is contained in:
parent
497ad8d163
commit
69ee06144d
@ -2732,7 +2732,7 @@ begin
|
||||
RegFP := 5;
|
||||
|
||||
Result := AStartFrame;
|
||||
prev_fp := high(prev_fp);
|
||||
prev_fp := low(prev_fp);
|
||||
while Result <= AMaxFrameToSearch do begin
|
||||
PrepareCallStackEntryList(Result+1);
|
||||
if CallStackEntryList.Count <= Result then
|
||||
@ -2750,7 +2750,7 @@ begin
|
||||
if fp = AFrameBasePointer then
|
||||
exit;
|
||||
|
||||
if (fp > prev_fp) or (fp < AStartFrame) then
|
||||
if (fp < prev_fp) or (fp > AFrameBasePointer) then
|
||||
exit(-1);
|
||||
|
||||
prev_fp := fp;
|
||||
|
Loading…
Reference in New Issue
Block a user