mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-20 23:59:40 +01:00
LazDebuggerFp (pure): Return the correct value of the instruction-pointer after a breakpoint has been reached. (Windows)
git-svn-id: trunk@44675 -
This commit is contained in:
parent
79d49417bd
commit
d521103501
@ -1017,6 +1017,7 @@ begin
|
||||
Context^.ContextFlags := CONTEXT_CONTROL;
|
||||
{$ifdef cpui386}
|
||||
Dec(Context^.Eip);
|
||||
dec(GCurrentContext^.Eip);
|
||||
{$else}
|
||||
Dec(Context^.Rip);
|
||||
{$endif}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user