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:
joost 2014-04-11 09:34:49 +00:00
parent 79d49417bd
commit d521103501

View File

@ -1017,6 +1017,7 @@ begin
Context^.ContextFlags := CONTEXT_CONTROL;
{$ifdef cpui386}
Dec(Context^.Eip);
dec(GCurrentContext^.Eip);
{$else}
Dec(Context^.Rip);
{$endif}