LazDebuggerLldb: Fix reading registers for correct frame

git-svn-id: trunk@60000 -
This commit is contained in:
martin 2019-01-04 18:32:16 +00:00
parent f9c2253b95
commit 3a3acd660b

View File

@ -1831,7 +1831,7 @@ var
Instr: TLldbInstructionRegister;
begin
// TODO: store thread/frame when command is created
Instr := TLldbInstructionRegister.Create(Debugger.FCurrentThreadId, Debugger.FCurrentStackFrame);
Instr := TLldbInstructionRegister.Create(FRegisters.ThreadId, FRegisters.StackFrame);
Instr.OnFinish := @RegisterInstructionFinished;
QueueInstruction(Instr);
Instr.ReleaseReference;