From 3a3acd660b4f103d71f9a5a9cae02d1980cf18d0 Mon Sep 17 00:00:00 2001 From: martin Date: Fri, 4 Jan 2019 18:32:16 +0000 Subject: [PATCH] LazDebuggerLldb: Fix reading registers for correct frame git-svn-id: trunk@60000 - --- components/lazdebuggers/lazdebuggerlldb/lldbdebugger.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lazdebuggers/lazdebuggerlldb/lldbdebugger.pas b/components/lazdebuggers/lazdebuggerlldb/lldbdebugger.pas index f3ac34e7be..1cc4e97797 100644 --- a/components/lazdebuggers/lazdebuggerlldb/lldbdebugger.pas +++ b/components/lazdebuggers/lazdebuggerlldb/lldbdebugger.pas @@ -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;