/external/lldb/source/Plugins/ABI/MacOSX-arm/ |
D | ABIMacOSX_arm.cpp | 208 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local 209 if (!reg_ctx) in PrepareTrivialCall() 212 …const uint32_t pc_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber (eRegisterKindGeneric, LL… in PrepareTrivialCall() 213 …const uint32_t sp_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber (eRegisterKindGeneric, LL… in PrepareTrivialCall() 214 …const uint32_t ra_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber (eRegisterKindGeneric, LL… in PrepareTrivialCall() 221 if (!reg_ctx->WriteRegister (reg_ctx->GetRegisterInfoByName("r0"), reg_value)) in PrepareTrivialCall() 227 if (!reg_ctx->WriteRegister (reg_ctx->GetRegisterInfoByName("r1"), reg_value)) in PrepareTrivialCall() 233 if (!reg_ctx->WriteRegister (reg_ctx->GetRegisterInfoByName("r2"), reg_value)) in PrepareTrivialCall() 238 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoByName("r3"); in PrepareTrivialCall() 239 if (!reg_ctx->WriteRegister (reg_info, reg_value)) in PrepareTrivialCall() [all …]
|
/external/lldb/source/Commands/ |
D | CommandObjectRegister.cpp | 90 RegisterContext *reg_ctx, in DumpRegister() argument 97 if (reg_ctx->ReadRegister (reg_info, reg_value)) in DumpRegister() 131 RegisterContext *reg_ctx, in DumpRegisterSet() argument 138 if (!reg_ctx) in DumpRegisterSet() 141 const RegisterSet * const reg_set = reg_ctx->GetRegisterSet(set_idx); in DumpRegisterSet() 150 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg); in DumpRegisterSet() 155 if (DumpRegister (exe_ctx, strm, reg_ctx, reg_info)) in DumpRegisterSet() 176 RegisterContext *reg_ctx = m_exe_ctx.GetRegisterContext (); in DoExecute() local 190 if (set_idx < reg_ctx->GetRegisterSetCount()) in DoExecute() 192 if (!DumpRegisterSet (m_exe_ctx, strm, reg_ctx, set_idx)) in DoExecute() [all …]
|
/external/lldb/source/Plugins/ABI/MacOSX-i386/ |
D | ABIMacOSX_i386.cpp | 260 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local 261 if (!reg_ctx) in PrepareTrivialCall() 263 …uint32_t pc_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber (eRegisterKindGeneric, LLDB_REG… in PrepareTrivialCall() 264 …uint32_t sp_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber (eRegisterKindGeneric, LLDB_REG… in PrepareTrivialCall() 270 const RegisterInfo *reg_info_32 = reg_ctx->GetRegisterInfoByName("eax"); in PrepareTrivialCall() 311 error = reg_ctx->WriteRegisterValueToMemory (reg_info_32, in PrepareTrivialCall() 324 error = reg_ctx->WriteRegisterValueToMemory (reg_info_32, in PrepareTrivialCall() 337 error = reg_ctx->WriteRegisterValueToMemory (reg_info_32, in PrepareTrivialCall() 350 error = reg_ctx->WriteRegisterValueToMemory (reg_info_32, in PrepareTrivialCall() 362 error = reg_ctx->WriteRegisterValueToMemory (reg_info_32, in PrepareTrivialCall() [all …]
|
/external/lldb/source/Plugins/ABI/SysV-x86_64/ |
D | ABISysV_x86_64.cpp | 350 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local 351 if (!reg_ctx) in PrepareTrivialCall() 357 reg_info = reg_ctx->GetRegisterInfoByName("rdi", 0); in PrepareTrivialCall() 361 if (!reg_ctx->WriteRegisterFromUnsigned (reg_info, *arg1_ptr)) in PrepareTrivialCall() 366 reg_info = reg_ctx->GetRegisterInfoByName("rsi", 0); in PrepareTrivialCall() 369 if (!reg_ctx->WriteRegisterFromUnsigned (reg_info, *arg2_ptr)) in PrepareTrivialCall() 374 reg_info = reg_ctx->GetRegisterInfoByName("rdx", 0); in PrepareTrivialCall() 377 if (!reg_ctx->WriteRegisterFromUnsigned (reg_info, *arg3_ptr)) in PrepareTrivialCall() 382 reg_info = reg_ctx->GetRegisterInfoByName("rcx", 0); in PrepareTrivialCall() 385 if (!reg_ctx->WriteRegisterFromUnsigned (reg_info, *arg4_ptr)) in PrepareTrivialCall() [all …]
|
/external/lldb/source/Plugins/Process/Utility/ |
D | UnwindMacOSXFrameBackchain.cpp | 105 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); in GetStackFrameData_i386() local 106 assert (reg_ctx); in GetStackFrameData_i386() 109 cursor.pc = reg_ctx->GetPC (LLDB_INVALID_ADDRESS); in GetStackFrameData_i386() 110 cursor.fp = reg_ctx->GetFP (0); in GetStackFrameData_i386() 158 lldb::addr_t first_frame_sp = reg_ctx->GetSP (0); in GetStackFrameData_i386() 204 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); in GetStackFrameData_x86_64() local 205 assert (reg_ctx); in GetStackFrameData_x86_64() 208 cursor.pc = reg_ctx->GetPC (LLDB_INVALID_ADDRESS); in GetStackFrameData_x86_64() 209 cursor.fp = reg_ctx->GetFP (0); in GetStackFrameData_x86_64() 257 lldb::addr_t first_frame_sp = reg_ctx->GetSP (0); in GetStackFrameData_x86_64()
|
/external/lldb/source/Plugins/Process/Linux/ |
D | LinuxThread.cpp | 47 RegisterContextPOSIX* reg_ctx = GetRegisterContextPOSIX(); in TraceNotify() local 48 if (reg_ctx) in TraceNotify() 50 uint32_t num_hw_wps = reg_ctx->NumSupportedHardwareWatchpoints(); in TraceNotify() 54 if (reg_ctx->IsWatchpointHit(wp_idx)) in TraceNotify()
|
/external/lldb/source/Core/ |
D | ValueObjectRegister.cpp | 32 …jectRegisterContext::ValueObjectRegisterContext (ValueObject &parent, RegisterContextSP ®_ctx) : in ValueObjectRegisterContext() argument 34 m_reg_ctx_sp (reg_ctx) in ValueObjectRegisterContext() 36 assert (reg_ctx); in ValueObjectRegisterContext() 123 …tRegisterSet (ExecutionContextScope *exe_scope, lldb::RegisterContextSP ®_ctx, uint32_t reg_set… in ValueObjectRegisterSet() argument 125 m_reg_ctx_sp (reg_ctx), in ValueObjectRegisterSet() 129 assert (reg_ctx); in ValueObjectRegisterSet() 130 m_reg_set = reg_ctx->GetRegisterSet(m_reg_set_idx); in ValueObjectRegisterSet() 288 …jectRegister (ExecutionContextScope *exe_scope, lldb::RegisterContextSP ®_ctx, uint32_t reg_num… in ValueObjectRegister() argument 290 m_reg_ctx_sp (reg_ctx), in ValueObjectRegister() 296 assert (reg_ctx); in ValueObjectRegister()
|
D | ValueObjectVariable.cpp | 331 RegisterContext *reg_ctx = exe_ctx.GetRegisterContext(); in SetValueFromCString() local 333 if (!reg_info || !reg_ctx) in SetValueFromCString() 341 if (reg_ctx->WriteRegister (reg_info, reg_value)) in SetValueFromCString() 363 RegisterContext *reg_ctx = exe_ctx.GetRegisterContext(); in SetData() local 365 if (!reg_info || !reg_ctx) in SetData() 373 if (reg_ctx->WriteRegister (reg_info, reg_value)) in SetData()
|
D | Debugger.cpp | 1557 RegisterContext *reg_ctx = NULL; in FormatPromptRecurse() local 2142 reg_ctx = frame->GetRegisterContext().get(); in FormatPromptRecurse() 2143 if (reg_ctx) in FormatPromptRecurse() 2149 … reg_info = reg_ctx->GetRegisterInfoByName (reg_name.c_str()); in FormatPromptRecurse() 2400 if (reg_ctx == NULL) in FormatPromptRecurse() 2401 reg_ctx = frame->GetRegisterContext().get(); in FormatPromptRecurse() 2403 if (reg_ctx) in FormatPromptRecurse() 2406 … reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber(reg_kind, reg_num); in FormatPromptRecurse() 2407 reg_info = reg_ctx->GetRegisterInfoAtIndex (reg_num); in FormatPromptRecurse() 2416 var_success = reg_ctx->ReadRegister (reg_info, reg_value); in FormatPromptRecurse()
|
D | EmulateInstruction.cpp | 654 EmulateInstruction::GetInternalRegisterNumber (RegisterContext *reg_ctx, const RegisterInfo ®_in… in GetInternalRegisterNumber() argument 657 if (reg_ctx && GetBestRegisterKindAndNumber (®_info, reg_kind, reg_num)) in GetInternalRegisterNumber() 658 return reg_ctx->ConvertRegisterKindToRegisterNumber (reg_kind, reg_num); in GetInternalRegisterNumber()
|
/external/lldb/source/Plugins/Process/POSIX/ |
D | POSIXThread.cpp | 331 RegisterContextPOSIX* reg_ctx = GetRegisterContextPOSIX(); in EnableHardwareWatchpoint() local 332 if (reg_ctx) in EnableHardwareWatchpoint() 333 wp_set = reg_ctx->SetHardwareWatchpointWithIndex(wp_addr, wp_size, in EnableHardwareWatchpoint() 368 RegisterContextPOSIX* reg_ctx = GetRegisterContextPOSIX(); in FindVacantWatchpointIndex() local 369 if (reg_ctx) in FindVacantWatchpointIndex() 373 if (reg_ctx->IsWatchpointVacant(wp_idx)) in FindVacantWatchpointIndex() 439 RegisterContextPOSIX* reg_ctx = GetRegisterContextPOSIX(); in WatchNotify() local 440 if (reg_ctx) in WatchNotify() 442 uint32_t num_hw_wps = reg_ctx->NumSupportedHardwareWatchpoints(); in WatchNotify() 446 if (reg_ctx->IsWatchpointHit(wp_idx)) in WatchNotify() [all …]
|
/external/lldb/source/Target/ |
D | ThreadPlanTracer.cpp | 155 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); in TracingStarted() local 158 m_register_values.resize (reg_ctx->GetRegisterCount()); in TracingStarted() 186 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); in Log() local 188 lldb::addr_t pc = reg_ctx->GetPC(); in Log() 264 for (uint32_t reg_num = 0, num_registers = reg_ctx->GetRegisterCount(); in Log() 268 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg_num); in Log() 269 if (reg_ctx->ReadRegister (reg_info, reg_value)) in Log()
|
D | ThreadPlan.cpp | 158 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); in WillResume() local 159 addr_t pc = reg_ctx->GetPC(); in WillResume() 160 addr_t sp = reg_ctx->GetSP(); in WillResume() 161 addr_t fp = reg_ctx->GetFP(); in WillResume()
|
D | ThreadPlanCallFunction.cpp | 251 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); in ReportRegisterState() local 257 for (uint32_t reg_idx = 0, num_registers = reg_ctx->GetRegisterCount(); in ReportRegisterState() 261 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex (reg_idx); in ReportRegisterState() 262 if (reg_ctx->ReadRegister(reg_info, reg_value)) in ReportRegisterState()
|
/external/lldb/source/Plugins/Instruction/ARM/ |
D | EmulationStateARM.cpp | 39 RegisterContext *reg_ctx = frame.GetRegisterContext().get(); in LoadPseudoRegistersFromFrame() local 45 reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber (eRegisterKindDWARF, i); in LoadPseudoRegistersFromFrame() 46 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex (reg_num); in LoadPseudoRegistersFromFrame() 48 if (reg_ctx->ReadRegister (reg_info, reg_value)) in LoadPseudoRegistersFromFrame() 58 reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber (eRegisterKindDWARF, i); in LoadPseudoRegistersFromFrame() 60 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex (reg_num); in LoadPseudoRegistersFromFrame() 62 if (reg_ctx->ReadRegister (reg_info, reg_value)) in LoadPseudoRegistersFromFrame()
|
/external/lldb/source/API/ |
D | SBFrame.cpp | 888 RegisterContextSP reg_ctx (frame->GetRegisterContext()); in FindValue() local 889 if (reg_ctx) in FindValue() 891 const uint32_t num_regs = reg_ctx->GetRegisterCount(); in FindValue() 894 … const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex (reg_idx); in FindValue() 899 … value_sp = ValueObjectRegister::Create (frame, reg_ctx, reg_idx); in FindValue() 910 RegisterContextSP reg_ctx (frame->GetRegisterContext()); in FindValue() local 911 if (reg_ctx) in FindValue() 913 const uint32_t num_sets = reg_ctx->GetRegisterSetCount(); in FindValue() 916 const RegisterSet *reg_set = reg_ctx->GetRegisterSet (set_idx); in FindValue() 921 … value_sp = ValueObjectRegisterSet::Create (frame, reg_ctx, set_idx); in FindValue() [all …]
|
/external/lldb/source/Expression/ |
D | DWARFExpression.cpp | 718 RegisterContext *reg_ctx, in ReadRegisterValueAsScalar() argument 725 if (reg_ctx == NULL) in ReadRegisterValueAsScalar() 732 uint32_t native_reg = reg_ctx->ConvertRegisterKindToRegisterNumber(reg_kind, reg_num); in ReadRegisterValueAsScalar() 740 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(native_reg); in ReadRegisterValueAsScalar() 742 if (reg_ctx->ReadRegister (reg_info, reg_value)) in ReadRegisterValueAsScalar() 1217 RegisterContext *reg_ctx, in Evaluate() argument 1229 if (reg_ctx) in Evaluate() 1230 pc = reg_ctx->GetPC(); in Evaluate() 1271 …return DWARFExpression::Evaluate (exe_ctx, expr_locals, decl_map, reg_ctx, m_data, offset, length,… in Evaluate() 1283 …return DWARFExpression::Evaluate (exe_ctx, expr_locals, decl_map, reg_ctx, m_data, 0, m_data.GetBy… in Evaluate() [all …]
|
/external/lldb/include/lldb/Expression/ |
D | DWARFExpression.h | 268 RegisterContext *reg_ctx, 334 RegisterContext *reg_ctx,
|
/external/lldb/source/Symbol/ |
D | UnwindPlan.cpp | 427 RegisterContext *reg_ctx = thread->GetRegisterContext().get(); in GetRegisterInfo() local 428 if (reg_ctx) in GetRegisterInfo() 434 reg = reg_ctx->ConvertRegisterKindToRegisterNumber (m_register_kind, unwind_reg); in GetRegisterInfo() 436 return reg_ctx->GetRegisterInfoAtIndex (reg); in GetRegisterInfo()
|
/external/lldb/tools/debugserver/source/ |
D | RNBRemote.cpp | 2822 std::vector<uint8_t> reg_ctx; in HandlePacket_g() local 2823 reg_ctx.resize(reg_ctx_size); in HandlePacket_g() 2825 reg_ctx_size = DNBThreadGetRegisterContext(pid, tid, ®_ctx[0], reg_ctx.size()); in HandlePacket_g() 2828 append_hex_value (ostrm, reg_ctx.data(), reg_ctx.size(), false); in HandlePacket_g() 2870 std::vector<uint8_t> reg_ctx; in HandlePacket_G() local 2871 reg_ctx.resize(reg_ctx_size); in HandlePacket_G() 2873 … const nub_size_t bytes_extracted = packet.GetHexBytes (®_ctx[0], reg_ctx.size(), 0xcc); in HandlePacket_G() 2874 if (bytes_extracted == reg_ctx.size()) in HandlePacket_G() 2877 … reg_ctx_size = DNBThreadSetRegisterContext(pid, tid, reg_ctx.data(), reg_ctx.size()); in HandlePacket_G() 2878 if (reg_ctx_size == reg_ctx.size()) in HandlePacket_G()
|
/external/lldb/source/Plugins/UnwindAssembly/x86/ |
D | UnwindAssembly-x86.cpp | 207 RegisterContext *reg_ctx = thread->GetRegisterContext().get(); in AssemblyParse_x86() local 208 if (reg_ctx) in AssemblyParse_x86() 224 const RegisterInfo *ri = reg_ctx->GetRegisterInfoByName (ent->name); in AssemblyParse_x86()
|
/external/lldb/include/lldb/Core/ |
D | EmulateInstruction.h | 618 GetInternalRegisterNumber (RegisterContext *reg_ctx,
|