Home
last modified time | relevance | path

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

/external/lldb/source/Plugins/Process/Utility/
DUnwindLLDB.cpp77 RegisterContextLLDBSP reg_ctx_sp (new RegisterContextLLDB (m_thread, in AddFirstFrame() local
81 if (reg_ctx_sp.get() == NULL) in AddFirstFrame()
84 if (!reg_ctx_sp->IsValid()) in AddFirstFrame()
87 if (!reg_ctx_sp->GetCFA (first_cursor_sp->cfa)) in AddFirstFrame()
90 if (!reg_ctx_sp->ReadPC (first_cursor_sp->start_pc)) in AddFirstFrame()
95 first_cursor_sp->reg_ctx_lldb_sp = reg_ctx_sp; in AddFirstFrame()
119 RegisterContextLLDBSP reg_ctx_sp(new RegisterContextLLDB (m_thread, in AddOneMoreFrame() local
140 if (reg_ctx_sp.get() == NULL) in AddOneMoreFrame()
143 if (!reg_ctx_sp->IsValid()) in AddOneMoreFrame()
152 if (!reg_ctx_sp->GetCFA (cursor_sp->cfa)) in AddOneMoreFrame()
[all …]
DThreadMemory.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()
DStopInfoMachException.cpp438 RegisterContextSP reg_ctx_sp (thread.GetRegisterContext()); in CreateStopReasonWithMachException() local
439 addr_t pc = reg_ctx_sp->GetPC() - pc_decrement; in CreateStopReasonWithMachException()
452 reg_ctx_sp->SetPC (pc); in CreateStopReasonWithMachException()
DUnwindMacOSXFrameBackchain.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()
DRegisterContextThreadMemory.cpp161 RegisterContextThreadMemory::CopyFromRegisterContext (lldb::RegisterContextSP reg_ctx_sp) in CopyFromRegisterContext() argument
165 return m_reg_ctx_sp->CopyFromRegisterContext(reg_ctx_sp); in CopyFromRegisterContext()
DRegisterContextLLDB.cpp93 RegisterContextSP reg_ctx_sp = m_thread.GetRegisterContext(); in InitializeZerothFrame() local
95 if (reg_ctx_sp.get() == NULL) in InitializeZerothFrame()
101 addr_t current_pc = reg_ctx_sp->GetPC(); in InitializeZerothFrame()
/external/lldb/source/Plugins/Process/MacOSX-Kernel/
DThreadKDP.cpp81 lldb::RegisterContextSP reg_ctx_sp (GetRegisterContext()); in RefreshStateAfterStop() local
82 if (reg_ctx_sp) in RefreshStateAfterStop()
83 reg_ctx_sp->InvalidateIfNeeded (force); in RefreshStateAfterStop()
114 lldb::RegisterContextSP reg_ctx_sp; in CreateRegisterContextForFrame() local
128 reg_ctx_sp.reset (new RegisterContextKDP_arm (*this, concrete_frame_idx)); in CreateRegisterContextForFrame()
131 reg_ctx_sp.reset (new RegisterContextKDP_i386 (*this, concrete_frame_idx)); in CreateRegisterContextForFrame()
134 reg_ctx_sp.reset (new RegisterContextKDP_x86_64 (*this, concrete_frame_idx)); in CreateRegisterContextForFrame()
146 reg_ctx_sp = unwinder->CreateRegisterContextForFrame (frame); in CreateRegisterContextForFrame()
148 return reg_ctx_sp; in CreateRegisterContextForFrame()
DProcessKDP.cpp457 lldb::RegisterContextSP reg_ctx_sp (kernel_thread_sp->GetRegisterContext()); in DoResume() local
459 if (reg_ctx_sp) in DoResume()
463 reg_ctx_sp->HardwareSingleStep (true); in DoResume()
475 lldb::RegisterContextSP reg_ctx_sp (kernel_thread_sp->GetRegisterContext()); in DoResume() local
477 if (reg_ctx_sp) in DoResume()
481 reg_ctx_sp->HardwareSingleStep (false); in DoResume()
889 … lldb::RegisterContextSP reg_ctx_sp (thread_sp->GetRegisterContext()); in AsyncThread() local
890 if (reg_ctx_sp) in AsyncThread()
891 reg_ctx_sp->InvalidateAllRegisters(); in AsyncThread()
/external/lldb/include/lldb/Core/
DValueObjectRegister.h65 ValueObjectRegisterContext (ValueObject &parent, lldb::RegisterContextSP &reg_ctx_sp);
76 … Create (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp, uint32_t set_idx);
122 …ValueObjectRegisterSet (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp, uin…
134 … Create (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp, uint32_t reg_num);
184 … ValueObjectRegister (ValueObject &parent, lldb::RegisterContextSP &reg_ctx_sp, uint32_t reg_num);
185 …ValueObjectRegister (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp, uint32…
/external/lldb/source/Plugins/Process/mach-core/
DThreadMachCore.cpp93 lldb::RegisterContextSP reg_ctx_sp; in CreateRegisterContextForFrame() local
109 reg_ctx_sp = m_thread_reg_ctx_sp; in CreateRegisterContextForFrame()
115 reg_ctx_sp = unwinder->CreateRegisterContextForFrame (frame); in CreateRegisterContextForFrame()
117 return reg_ctx_sp; in CreateRegisterContextForFrame()
/external/lldb/source/Plugins/Process/POSIX/
DPOSIXThread.cpp177 lldb::RegisterContextSP reg_ctx_sp; in CreateRegisterContextForFrame() local
188 reg_ctx_sp = GetRegisterContext(); in CreateRegisterContextForFrame()
192 reg_ctx_sp = GetUnwinder()->CreateRegisterContextForFrame(frame); in CreateRegisterContextForFrame()
195 return reg_ctx_sp; in CreateRegisterContextForFrame()
346 lldb::RegisterContextSP reg_ctx_sp = GetRegisterContext(); in DisableHardwareWatchpoint() local
347 if (reg_ctx_sp.get()) in DisableHardwareWatchpoint()
348 result = reg_ctx_sp->ClearHardwareWatchpoint(wp->GetHardwareIndex()); in DisableHardwareWatchpoint()
356 lldb::RegisterContextSP reg_ctx_sp = GetRegisterContext(); in NumSupportedHardwareWatchpoints() local
357 if (reg_ctx_sp.get()) in NumSupportedHardwareWatchpoints()
358 return reg_ctx_sp->NumSupportedHardwareWatchpoints(); in NumSupportedHardwareWatchpoints()
/external/lldb/source/Plugins/OperatingSystem/Python/
DOperatingSystemPython.cpp311 RegisterContextSP reg_ctx_sp; in CreateRegisterContextForThread() local
313 return reg_ctx_sp; in CreateRegisterContextForThread()
316 return reg_ctx_sp; in CreateRegisterContextForThread()
336reg_ctx_sp.reset (new RegisterContextMemory (*thread, 0, *GetDynamicRegisterInfo (), reg_data_addr… in CreateRegisterContextForThread()
357 reg_ctx_sp.reset(reg_ctx_memory); in CreateRegisterContextForThread()
364 if (!reg_ctx_sp) in CreateRegisterContextForThread()
368reg_ctx_sp.reset(new RegisterContextDummy(*thread,0,target.GetArchitecture().GetAddressByteSize())… in CreateRegisterContextForThread()
370 return reg_ctx_sp; in CreateRegisterContextForThread()
/external/lldb/source/Plugins/Process/elf-core/
DThreadElfCore.cpp71 RegisterContextSP reg_ctx_sp; in CreateRegisterContextForFrame() local
110 reg_ctx_sp = m_thread_reg_ctx_sp; in CreateRegisterContextForFrame()
114 reg_ctx_sp = m_unwinder_ap->CreateRegisterContextForFrame (frame); in CreateRegisterContextForFrame()
116 return reg_ctx_sp; in CreateRegisterContextForFrame()
/external/lldb/source/Core/
DValueObjectRegister.cpp117 …et::Create (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp, uint32_t set_id… in Create() argument
119 return (new ValueObjectRegisterSet (exe_scope, reg_ctx_sp, set_idx))->GetSP(); in Create()
270 ValueObjectRegister::ValueObjectRegister (ValueObject &parent, lldb::RegisterContextSP &reg_ctx_sp,… in ValueObjectRegister() argument
272 m_reg_ctx_sp (reg_ctx_sp), in ValueObjectRegister()
278 assert (reg_ctx_sp.get()); in ValueObjectRegister()
283 ValueObjectRegister::Create (ExecutionContextScope *exe_scope, lldb::RegisterContextSP &reg_ctx_sp,… in Create() argument
285 return (new ValueObjectRegister (exe_scope, reg_ctx_sp, reg_num))->GetSP(); in Create()
/external/lldb/source/Plugins/Process/gdb-remote/
DThreadGDBRemote.cpp166 lldb::RegisterContextSP reg_ctx_sp; in CreateRegisterContextForFrame() local
180reg_ctx_sp.reset (new GDBRemoteRegisterContext (*this, concrete_frame_idx, gdb_process->m_register… in CreateRegisterContextForFrame()
187 reg_ctx_sp = unwinder->CreateRegisterContextForFrame (frame); in CreateRegisterContextForFrame()
189 return reg_ctx_sp; in CreateRegisterContextForFrame()
/external/lldb/source/Target/
DThread.cpp566 lldb::RegisterContextSP reg_ctx_sp (GetRegisterContext()); in SetupForResume() local
567 if (reg_ctx_sp) in SetupForResume()
569 …kpointSiteSP bp_site_sp = GetProcess()->GetBreakpointSiteList().FindByAddress(reg_ctx_sp->GetPC()); in SetupForResume()
1720 lldb::RegisterContextSP reg_ctx_sp (youngest_frame_sp->GetRegisterContext()); in ReturnFromFrame() local
1721 if (reg_ctx_sp) in ReturnFromFrame()
1723 … bool copy_success = reg_ctx_sp->CopyFromRegisterContext(older_frame_sp->GetRegisterContext()); in ReturnFromFrame()
1899 lldb::RegisterContextSP reg_ctx_sp (frame_sp->GetRegisterContext()); in SaveFrameZeroState() local
1900 if (reg_ctx_sp) in SaveFrameZeroState()
1901 return reg_ctx_sp->ReadAllRegisterValues (checkpoint.GetData()); in SaveFrameZeroState()
1918 lldb::RegisterContextSP reg_ctx_sp (frame_sp->GetRegisterContext()); in ResetFrameZeroRegisters() local
[all …]
DStackFrameList.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()
/external/lldb/source/Plugins/ABI/SysV-x86_64/
DABISysV_x86_64.cpp832 RegisterContextSP reg_ctx_sp = thread.GetRegisterContext(); in GetReturnValueObjectImpl() local
833 if (!reg_ctx_sp) in GetReturnValueObjectImpl()
849 const RegisterInfo *rax_info = reg_ctx_sp->GetRegisterInfoByName("rax", 0); in GetReturnValueObjectImpl()
850 const RegisterInfo *rdx_info = reg_ctx_sp->GetRegisterInfoByName("rdx", 0); in GetReturnValueObjectImpl()
851 const RegisterInfo *xmm0_info = reg_ctx_sp->GetRegisterInfoByName("xmm0", 0); in GetReturnValueObjectImpl()
852 const RegisterInfo *xmm1_info = reg_ctx_sp->GetRegisterInfoByName("xmm1", 0); in GetReturnValueObjectImpl()
855 reg_ctx_sp->ReadRegister (rax_info, rax_value); in GetReturnValueObjectImpl()
856 reg_ctx_sp->ReadRegister (rdx_info, rdx_value); in GetReturnValueObjectImpl()
857 reg_ctx_sp->ReadRegister (xmm0_info, xmm0_value); in GetReturnValueObjectImpl()
858 reg_ctx_sp->ReadRegister (xmm1_info, xmm1_value); in GetReturnValueObjectImpl()
[all …]
/external/lldb/source/Expression/
DDWARFExpression.cpp1236 RegisterContextSP reg_ctx_sp = frame->GetRegisterContext(); in Evaluate() local
1237 if (!reg_ctx_sp) in Evaluate()
1239 pc = reg_ctx_sp->GetPC(); in Evaluate()
/external/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.cpp3993 lldb::RegisterContextSP reg_ctx_sp; in GetThreadContextAtIndex() local
4013 reg_ctx_sp.reset (new RegisterContextDarwin_arm_Mach (thread, data)); in GetThreadContextAtIndex()
4017 reg_ctx_sp.reset (new RegisterContextDarwin_i386_Mach (thread, data)); in GetThreadContextAtIndex()
4021 reg_ctx_sp.reset (new RegisterContextDarwin_x86_64_Mach (thread, data)); in GetThreadContextAtIndex()
4026 return reg_ctx_sp; in GetThreadContextAtIndex()