Home
last modified time | relevance | path

Searched refs:reg_ctx_sp (Results 1 – 22 of 22) sorted by relevance

/NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
HDUnwindLLDB.cpp91 RegisterContextLLDBSP reg_ctx_sp (new RegisterContextLLDB (m_thread, in AddFirstFrame() local
95 if (reg_ctx_sp.get() == NULL) in AddFirstFrame()
98 if (!reg_ctx_sp->IsValid()) in AddFirstFrame()
101 if (!reg_ctx_sp->GetCFA (first_cursor_sp->cfa)) in AddFirstFrame()
104 if (!reg_ctx_sp->ReadPC (first_cursor_sp->start_pc)) in AddFirstFrame()
109 first_cursor_sp->reg_ctx_lldb_sp = reg_ctx_sp; in AddFirstFrame()
138 RegisterContextLLDBSP reg_ctx_sp(new RegisterContextLLDB (m_thread, in GetOneMoreFrame() local
159 if (reg_ctx_sp.get() == NULL) in GetOneMoreFrame()
172 if (!reg_ctx_sp->IsValid()) in GetOneMoreFrame()
185 if (!reg_ctx_sp->GetCFA (cursor_sp->cfa)) in GetOneMoreFrame()
[all …]
HDThreadMemory.cpp83 RegisterContextSP reg_ctx_sp; in CreateRegisterContextForFrame() local
91 reg_ctx_sp = GetRegisterContext (); in CreateRegisterContextForFrame()
97 reg_ctx_sp = unwinder->CreateRegisterContextForFrame (frame); in CreateRegisterContextForFrame()
99 return reg_ctx_sp; in CreateRegisterContextForFrame()
HDStopInfoMachException.cpp482 RegisterContextSP reg_ctx_sp (thread.GetRegisterContext()); in CreateStopReasonWithMachException() local
483 addr_t pc = reg_ctx_sp->GetPC() - pc_decrement; in CreateStopReasonWithMachException()
496 reg_ctx_sp->SetPC (pc); in CreateStopReasonWithMachException()
HDUnwindMacOSXFrameBackchain.cpp78 lldb::RegisterContextSP reg_ctx_sp; in DoCreateRegisterContextForFrame() local
82reg_ctx_sp.reset (new RegisterContextMacOSXFrameBackchain (m_thread, concrete_idx, m_cursors[concr… in DoCreateRegisterContextForFrame()
83 return reg_ctx_sp; in DoCreateRegisterContextForFrame()
HDRegisterContextThreadMemory.cpp161 RegisterContextThreadMemory::CopyFromRegisterContext (lldb::RegisterContextSP reg_ctx_sp) in CopyFromRegisterContext() argument
165 return m_reg_ctx_sp->CopyFromRegisterContext(reg_ctx_sp); in CopyFromRegisterContext()
HDRegisterContextLLDB.cpp136 RegisterContextSP reg_ctx_sp = m_thread.GetRegisterContext(); in InitializeZerothFrame() local
138 if (reg_ctx_sp.get() == NULL) in InitializeZerothFrame()
145 addr_t current_pc = reg_ctx_sp->GetPC(); in InitializeZerothFrame()
/NextBSD/contrib/llvm/tools/lldb/include/lldb/Core/
HDValueObjectRegister.h68 ValueObjectRegisterContext (ValueObject &parent, lldb::RegisterContextSP &reg_ctx_sp);
79 … Create (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp, uint32_t set_idx);
125 …ValueObjectRegisterSet (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp, uin…
137 … Create (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp, uint32_t reg_num);
187 … ValueObjectRegister (ValueObject &parent, lldb::RegisterContextSP &reg_ctx_sp, uint32_t reg_num);
188 …ValueObjectRegister (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp, uint32…
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/
HDOperatingSystemPython.cpp319 RegisterContextSP reg_ctx_sp; in CreateRegisterContextForThread() local
321 return reg_ctx_sp; in CreateRegisterContextForThread()
324 return reg_ctx_sp; in CreateRegisterContextForThread()
344reg_ctx_sp.reset (new RegisterContextMemory (*thread, 0, *GetDynamicRegisterInfo (), reg_data_addr… in CreateRegisterContextForThread()
365 reg_ctx_sp.reset(reg_ctx_memory); in CreateRegisterContextForThread()
372 if (!reg_ctx_sp) in CreateRegisterContextForThread()
376reg_ctx_sp.reset(new RegisterContextDummy(*thread,0,target.GetArchitecture().GetAddressByteSize())… in CreateRegisterContextForThread()
378 return reg_ctx_sp; in CreateRegisterContextForThread()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/
HDPOSIXThread.cpp247 lldb::RegisterContextSP reg_ctx_sp; in CreateRegisterContextForFrame() local
258 reg_ctx_sp = GetRegisterContext(); in CreateRegisterContextForFrame()
262 reg_ctx_sp = GetUnwinder()->CreateRegisterContextForFrame(frame); in CreateRegisterContextForFrame()
265 return reg_ctx_sp; in CreateRegisterContextForFrame()
420 lldb::RegisterContextSP reg_ctx_sp = GetRegisterContext(); in DisableHardwareWatchpoint() local
421 if (reg_ctx_sp.get()) in DisableHardwareWatchpoint()
422 result = reg_ctx_sp->ClearHardwareWatchpoint(wp->GetHardwareIndex()); in DisableHardwareWatchpoint()
430 lldb::RegisterContextSP reg_ctx_sp = GetRegisterContext(); in NumSupportedHardwareWatchpoints() local
431 if (reg_ctx_sp.get()) in NumSupportedHardwareWatchpoints()
432 return reg_ctx_sp->NumSupportedHardwareWatchpoints(); in NumSupportedHardwareWatchpoints()
/NextBSD/contrib/llvm/tools/lldb/source/Core/
HDValueObjectRegister.cpp123 …et::Create (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp, uint32_t set_id… in Create() argument
125 return (new ValueObjectRegisterSet (exe_scope, reg_ctx_sp, set_idx))->GetSP(); in Create()
276 ValueObjectRegister::ValueObjectRegister (ValueObject &parent, lldb::RegisterContextSP &reg_ctx_sp,… in ValueObjectRegister() argument
278 m_reg_ctx_sp (reg_ctx_sp), in ValueObjectRegister()
284 assert (reg_ctx_sp.get()); in ValueObjectRegister()
289 ValueObjectRegister::Create (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp,… in Create() argument
291 return (new ValueObjectRegister (exe_scope, reg_ctx_sp, reg_num))->GetSP(); in Create()
HDArchSpec.cpp1359 RegisterContextSP reg_ctx_sp (thread.GetRegisterContext()); in StopInfoOverrideCallbackTypeARM() local
1360 if (reg_ctx_sp) in StopInfoOverrideCallbackTypeARM()
1362 const uint32_t cpsr = reg_ctx_sp->GetFlags(0); in StopInfoOverrideCallbackTypeARM()
1384 const addr_t pc = reg_ctx_sp->GetPC(); in StopInfoOverrideCallbackTypeARM()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/
HDThreadElfCore.cpp84 RegisterContextSP reg_ctx_sp; in CreateRegisterContextForFrame() local
186 reg_ctx_sp = m_thread_reg_ctx_sp; in CreateRegisterContextForFrame()
190 reg_ctx_sp = m_unwinder_ap->CreateRegisterContextForFrame (frame); in CreateRegisterContextForFrame()
192 return reg_ctx_sp; in CreateRegisterContextForFrame()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
HDThreadGDBRemote.cpp280 lldb::RegisterContextSP reg_ctx_sp; in CreateRegisterContextForFrame() local
295reg_ctx_sp.reset (new GDBRemoteRegisterContext (*this, concrete_frame_idx, gdb_process->m_register… in CreateRegisterContextForFrame()
302 reg_ctx_sp = unwinder->CreateRegisterContextForFrame (frame); in CreateRegisterContextForFrame()
304 return reg_ctx_sp; in CreateRegisterContextForFrame()
HDGDBRemoteCommunicationServerLLGS.cpp430 NativeRegisterContextSP &reg_ctx_sp, in WriteRegisterValueInHexFixedWidth() argument
437 Error error = reg_ctx_sp->ReadRegister (&reg_info, reg_value); in WriteRegisterValueInHexFixedWidth()
558 NativeRegisterContextSP reg_ctx_sp = thread_sp->GetRegisterContext (); in SendStopReplyPacketForThread() local
559 if (reg_ctx_sp) in SendStopReplyPacketForThread()
563 …if (reg_ctx_sp->GetRegisterSetCount () > 0 && ((reg_set_p = reg_ctx_sp->GetRegisterSet (0)) != nul… in SendStopReplyPacketForThread()
570 … const RegisterInfo *const reg_info_p = reg_ctx_sp->GetRegisterInfoAtIndex (*reg_num_p); in SendStopReplyPacketForThread()
580 Error error = reg_ctx_sp->ReadRegister (reg_info_p, reg_value); in SendStopReplyPacketForThread()
584 … WriteRegisterValueInHexFixedWidth(response, reg_ctx_sp, *reg_info_p, &reg_value); in SendStopReplyPacketForThread()
/NextBSD/contrib/llvm/tools/lldb/source/Target/
HDThread.cpp567 lldb::RegisterContextSP reg_ctx_sp (frame_sp->GetRegisterContext()); in CheckpointThreadState() local
568 if (reg_ctx_sp && reg_ctx_sp->ReadAllRegisterValues (*reg_checkpoint_sp)) in CheckpointThreadState()
592 lldb::RegisterContextSP reg_ctx_sp (frame_sp->GetRegisterContext()); in RestoreRegisterStateFromCheckpoint() local
593 if (reg_ctx_sp) in RestoreRegisterStateFromCheckpoint()
595 bool ret = reg_ctx_sp->WriteAllRegisterValues (*saved_state.register_backup_sp); in RestoreRegisterStateFromCheckpoint()
599 reg_ctx_sp->InvalidateIfNeeded(true); in RestoreRegisterStateFromCheckpoint()
658 lldb::RegisterContextSP reg_ctx_sp (GetRegisterContext()); in SetupForResume() local
659 if (reg_ctx_sp) in SetupForResume()
661 const addr_t thread_pc = reg_ctx_sp->GetPC(); in SetupForResume()
1921 lldb::RegisterContextSP reg_ctx_sp (youngest_frame_sp->GetRegisterContext()); in ReturnFromFrame() local
[all …]
HDStackFrameList.cpp299 RegisterContextSP reg_ctx_sp (m_thread.GetRegisterContext()); in GetFramesUpTo() local
301 if (reg_ctx_sp) in GetFramesUpTo()
310 cfa = reg_ctx_sp->GetSP(); in GetFramesUpTo()
311 pc = reg_ctx_sp->GetPC(); in GetFramesUpTo()
317 reg_ctx_sp, in GetFramesUpTo()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/
HDABISysV_x86_64.cpp820 RegisterContextSP reg_ctx_sp = thread.GetRegisterContext(); in GetReturnValueObjectImpl() local
821 if (!reg_ctx_sp) in GetReturnValueObjectImpl()
837 const RegisterInfo *rax_info = reg_ctx_sp->GetRegisterInfoByName("rax", 0); in GetReturnValueObjectImpl()
838 const RegisterInfo *rdx_info = reg_ctx_sp->GetRegisterInfoByName("rdx", 0); in GetReturnValueObjectImpl()
839 const RegisterInfo *xmm0_info = reg_ctx_sp->GetRegisterInfoByName("xmm0", 0); in GetReturnValueObjectImpl()
840 const RegisterInfo *xmm1_info = reg_ctx_sp->GetRegisterInfoByName("xmm1", 0); in GetReturnValueObjectImpl()
843 reg_ctx_sp->ReadRegister (rax_info, rax_value); in GetReturnValueObjectImpl()
844 reg_ctx_sp->ReadRegister (rdx_info, rdx_value); in GetReturnValueObjectImpl()
845 reg_ctx_sp->ReadRegister (xmm0_info, xmm0_value); in GetReturnValueObjectImpl()
846 reg_ctx_sp->ReadRegister (xmm1_info, xmm1_value); in GetReturnValueObjectImpl()
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-ppc/
HDABISysV_ppc.cpp739 RegisterContextSP reg_ctx_sp = thread.GetRegisterContext(); in GetReturnValueObjectImpl() local
740 if (!reg_ctx_sp) in GetReturnValueObjectImpl()
756 const RegisterInfo *r3_info = reg_ctx_sp->GetRegisterInfoByName("r3", 0); in GetReturnValueObjectImpl()
757 const RegisterInfo *rdx_info = reg_ctx_sp->GetRegisterInfoByName("rdx", 0); in GetReturnValueObjectImpl()
760 reg_ctx_sp->ReadRegister (r3_info, r3_value); in GetReturnValueObjectImpl()
761 reg_ctx_sp->ReadRegister (rdx_info, rdx_value); in GetReturnValueObjectImpl()
963 unsigned r3_id = reg_ctx_sp->GetRegisterInfoByName("r3", 0)->kinds[eRegisterKindLLDB]; in GetReturnValueObjectImpl()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-ppc64/
HDABISysV_ppc64.cpp739 RegisterContextSP reg_ctx_sp = thread.GetRegisterContext(); in GetReturnValueObjectImpl() local
740 if (!reg_ctx_sp) in GetReturnValueObjectImpl()
756 const RegisterInfo *r3_info = reg_ctx_sp->GetRegisterInfoByName("r3", 0); in GetReturnValueObjectImpl()
757 const RegisterInfo *rdx_info = reg_ctx_sp->GetRegisterInfoByName("rdx", 0); in GetReturnValueObjectImpl()
760 reg_ctx_sp->ReadRegister (r3_info, r3_value); in GetReturnValueObjectImpl()
761 reg_ctx_sp->ReadRegister (rdx_info, rdx_value); in GetReturnValueObjectImpl()
963 unsigned r3_id = reg_ctx_sp->GetRegisterInfoByName("r3", 0)->kinds[eRegisterKindLLDB]; in GetReturnValueObjectImpl()
/NextBSD/contrib/llvm/tools/lldb/source/Host/common/
HDNativeProcessProtocol.cpp187 NativeRegisterContextSP reg_ctx_sp (thread_sp->GetRegisterContext ()); in GetMaxWatchpoints() local
188 if (!reg_ctx_sp) in GetMaxWatchpoints()
195 return reg_ctx_sp->NumSupportedHardwareWatchpoints (); in GetMaxWatchpoints()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-i386/
HDABISysV_i386.cpp666 RegisterContextSP reg_ctx_sp = thread.GetRegisterContext(); in GetReturnValueObjectImpl() local
667 if (!reg_ctx_sp) in GetReturnValueObjectImpl()
672 unsigned eax_id = reg_ctx_sp->GetRegisterInfoByName("eax", 0)->kinds[eRegisterKindLLDB]; in GetReturnValueObjectImpl()
/NextBSD/contrib/llvm/tools/lldb/source/Expression/
HDDWARFExpression.cpp1278 RegisterContextSP reg_ctx_sp = frame->GetRegisterContext(); in Evaluate() local
1279 if (!reg_ctx_sp) in Evaluate()
1281 pc = reg_ctx_sp->GetPC(); in Evaluate()