mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 13:39:08 +02:00
FpDebug: fix restoring registers (e.g. after function eval)
This commit is contained in:
parent
deb959022e
commit
b3cae05fee
@ -905,6 +905,7 @@ procedure TDbgLinuxThread.RestoreRegisters;
|
||||
begin
|
||||
FUserRegs:=FStoredUserRegs;
|
||||
FUserRegsChanged := true;
|
||||
FRegisterValueListValid := False;
|
||||
end;
|
||||
|
||||
procedure TDbgLinuxThread.StoreRegisters;
|
||||
|
@ -1936,6 +1936,8 @@ end;
|
||||
procedure TDbgWinThread.RestoreRegisters;
|
||||
begin
|
||||
_UnAligendContext := _StoredContext;
|
||||
FThreadContextChanged := True;
|
||||
FRegisterValueListValid := False;
|
||||
end;
|
||||
|
||||
function TDbgWinThread.GetInstructionPointerRegisterValue: TDbgPtr;
|
||||
|
Loading…
Reference in New Issue
Block a user