HomeSort by relevance Sort by last modified time
    Searched refs:reg_info (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/lldb/source/Utility/
ARM_DWARF_Registers.cpp 209 GetARMDWARFRegisterInfo (unsigned reg_num, RegisterInfo &reg_info)
211 ::memset (&reg_info, 0, sizeof(RegisterInfo));
212 ::memset (reg_info.kinds, LLDB_INVALID_REGNUM, sizeof(reg_info.kinds));
216 reg_info.byte_size = 16;
217 reg_info.format = eFormatVectorOfUInt8;
218 reg_info.encoding = eEncodingVector;
223 reg_info.byte_size = 8;
224 reg_info.format = eFormatFloat;
225 reg_info.encoding = eEncodingIEEE754
    [all...]
  /external/lldb/source/Plugins/Process/Utility/
DynamicRegisterInfo.cpp 98 RegisterInfo reg_info; local
99 bzero (&reg_info, sizeof(reg_info));
101 reg_info.name = ConstString (reg_info_dict.GetItemForKeyAsString(name_pystr)).GetCString();
102 if (reg_info.name == NULL)
108 reg_info.alt_name = ConstString (reg_info_dict.GetItemForKeyAsString(altname_pystr)).GetCString();
110 reg_info.byte_offset = reg_info_dict.GetItemForKeyAsInteger(offset_pystr, UINT32_MAX);
112 if (reg_info.byte_offset == UINT32_MAX)
117 reg_info.byte_size = reg_info_dict.GetItemForKeyAsInteger(bitsize_pystr, 0) / 8;
119 if (reg_info.byte_size == 0
    [all...]
RegisterContextMemory.cpp 107 RegisterContextMemory::ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value)
109 const uint32_t reg_num = reg_info->kinds[eRegisterKindLLDB];
116 return reg_value.SetValueFromData(reg_info, m_reg_data, reg_info->byte_offset, partial_data_ok).Success();
120 RegisterContextMemory::WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value)
124 const uint32_t reg_num = reg_info->kinds[eRegisterKindLLDB];
125 addr_t reg_addr = m_reg_data_addr + reg_info->byte_offset;
126 Error error (WriteRegisterValueToMemory(reg_info, reg_addr, reg_info->byte_size, reg_value));
RegisterContextMemory.h 33 DynamicRegisterInfo &reg_info,
70 ReadRegister (const lldb_private::RegisterInfo *reg_info,
74 WriteRegister (const lldb_private::RegisterInfo *reg_info,
RegisterContextMacOSXFrameBackchain.cpp 84 RegisterContextMacOSXFrameBackchain::ReadRegister (const RegisterInfo *reg_info,
92 switch (reg_info->kinds[eRegisterKindGeneric])
110 switch (reg_info->encoding)
118 value.SetUInt(reg_value, reg_info->byte_size);
122 switch (reg_info->byte_size)
173 RegisterContextMacOSXFrameBackchain::WriteRegister (const RegisterInfo *reg_info,
RegisterContextThreadMemory.h 47 ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value);
50 WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value);
96 ReadRegisterValueFromMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t src_addr, uint32_t src_len, RegisterValue &reg_value);
99 WriteRegisterValueToMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue &reg_value);
RegisterContextDummy.cpp 100 RegisterContextDummy::ReadRegister (const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value)
102 if (!reg_info)
104 uint32_t reg_number = reg_info->kinds[eRegisterKindGeneric];
107 value.SetUInt(LLDB_INVALID_ADDRESS, reg_info->byte_size);
114 RegisterContextDummy::WriteRegister (const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value)
RegisterContextDummy.h 51 ReadRegister (const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value);
54 WriteRegister (const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value);
RegisterContextMacOSXFrameBackchain.h 54 ReadRegister (const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value);
57 WriteRegister (const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value);
RegisterContextThreadMemory.cpp 125 RegisterContextThreadMemory::ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value)
129 return m_reg_ctx_sp->ReadRegister(reg_info, reg_value);
134 RegisterContextThreadMemory::WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value)
138 return m_reg_ctx_sp->WriteRegister (reg_info, reg_value);
242 RegisterContextThreadMemory::ReadRegisterValueFromMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t src_addr, uint32_t src_len, RegisterValue &reg_value)
246 return m_reg_ctx_sp->ReadRegisterValueFromMemory (reg_info, src_addr, src_len, reg_value);
253 RegisterContextThreadMemory::WriteRegisterValueToMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue &reg_value)
257 return m_reg_ctx_sp->WriteRegisterValueToMemory (reg_info, dst_addr, dst_len, reg_value);
  /external/lldb/source/Target/
RegisterContext.cpp 72 const RegisterInfo * reg_info = GetRegisterInfoAtIndex(reg); local
74 if ((reg_info->name != NULL && ::strcasecmp (reg_info->name, reg_name) == 0) ||
75 (reg_info->alt_name != NULL && ::strcasecmp (reg_info->alt_name, reg_name) == 0))
77 return reg_info;
87 const RegisterInfo * reg_info = GetRegisterInfoAtIndex(reg); local
88 if (reg_info)
89 return reg_info->name;
168 RegisterContext::ReadRegisterAsUnsigned (const RegisterInfo *reg_info, uint64_t fail_value
220 const RegisterInfo *reg_info = GetRegisterInfoAtIndex(reg); local
462 const RegisterInfo * reg_info = GetRegisterInfoAtIndex (reg); local
    [all...]
  /external/lldb/source/Plugins/Process/gdb-remote/
GDBRemoteRegisterContext.h 49 AddRegister (lldb_private::RegisterInfo reg_info,
57 reg_info.name = reg_name.AsCString();
58 assert (reg_info.name);
59 reg_info.alt_name = reg_alt_name.AsCString(NULL);
61 if (reg_info.value_regs)
63 for (i=0; reg_info.value_regs[i] != LLDB_INVALID_REGNUM; ++i)
64 m_value_regs_map[reg_num].push_back(reg_info.value_regs[i]);
66 reg_info.value_regs = m_value_regs_map[reg_num].data();
68 if (reg_info.invalidate_regs)
70 for (i=0; reg_info.invalidate_regs[i] != LLDB_INVALID_REGNUM; ++i
    [all...]
GDBRemoteRegisterContext.cpp 40 GDBRemoteDynamicRegisterInfo &reg_info,
44 m_reg_info (reg_info),
52 m_reg_valid.resize (reg_info.GetNumRegisters());
55 DataBufferSP reg_data_sp(new DataBufferHeap (reg_info.GetRegisterDataByteSize(), 0));
110 GDBRemoteRegisterContext::ReadRegister (const RegisterInfo *reg_info, RegisterValue &value)
113 if (ReadRegisterBytes (reg_info, m_reg_data))
116 Error error (value.SetValueFromData(reg_info, m_reg_data, reg_info->byte_offset, partial_data_ok));
125 const RegisterInfo *reg_info = GetRegisterInfoAtIndex (reg); local
126 if (reg_info == NULL
618 const RegisterInfo *reg_info; local
956 const RegisterInfo *reg_info = GetRegisterInfoAtIndex(j); local
    [all...]
  /external/lldb/source/Plugins/Process/elf-core/
RegisterContextCoreFreeBSD_x86_64.h 26 ReadRegister(const RegisterInfo *reg_info, RegisterValue &value);
32 WriteRegister(const RegisterInfo *reg_info, const RegisterValue &value);
RegisterContextCoreLinux_x86_64.h 26 ReadRegister(const RegisterInfo *reg_info, RegisterValue &value);
32 WriteRegister(const RegisterInfo *reg_info, const RegisterValue &value);
RegisterContextCoreFreeBSD_x86_64.cpp 33 RegisterContextCoreFreeBSD_x86_64::ReadRegister(const RegisterInfo *reg_info, RegisterValue &value)
35 value = *(uint64_t *)(m_gpregset + reg_info->byte_offset);
46 RegisterContextCoreFreeBSD_x86_64::WriteRegister(const RegisterInfo *reg_info, const RegisterValue &value)
RegisterContextCoreLinux_x86_64.cpp 34 RegisterContextCoreLinux_x86_64::ReadRegister(const RegisterInfo *reg_info, RegisterValue &value)
36 value = *(uint64_t *)(m_gpregset + reg_info->byte_offset);
47 RegisterContextCoreLinux_x86_64::WriteRegister(const RegisterInfo *reg_info, const RegisterValue &value)
  /external/lldb/source/Commands/
CommandObjectRegister.cpp 91 const RegisterInfo *reg_info)
93 if (reg_info)
97 if (reg_ctx->ReadRegister (reg_info, reg_value))
103 reg_value.Dump(&strm, reg_info, prefix_with_name, prefix_with_altname, m_format_options.GetFormat(), 8);
104 if ((reg_info->encoding == eEncodingUint) || (reg_info->encoding == eEncodingSint))
107 if (process && reg_info->byte_size == process->GetAddressByteSize())
150 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg); local
152 if (primitive_only && reg_info && reg_info->value_regs
178 const RegisterInfo *reg_info = NULL; local
436 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoByName(reg_name); local
    [all...]
  /external/lldb/source/Core/
EmulateInstruction.cpp 70 EmulateInstruction::ReadRegister (const RegisterInfo *reg_info, RegisterValue& reg_value)
73 return m_read_reg_callback (this, m_baton, reg_info, reg_value);
80 RegisterInfo reg_info; local
81 if (GetRegisterInfo(reg_kind, reg_num, reg_info))
82 return ReadRegister (&reg_info, reg_value);
101 EmulateInstruction::ReadRegisterUnsigned (const RegisterInfo *reg_info,
106 if (ReadRegister (reg_info, reg_value))
115 const RegisterInfo *reg_info,
119 return m_write_reg_callback (this, m_baton, context, reg_info, reg_value);
129 RegisterInfo reg_info; local
143 RegisterInfo reg_info; local
    [all...]
RegisterValue.cpp 29 const RegisterInfo *reg_info,
52 if (reg_info->name)
54 s->Printf (fmt, reg_info->name);
57 else if (reg_info->alt_name)
59 s->Printf (fmt, reg_info->alt_name);
68 if (reg_info->alt_name)
70 s->Printf (fmt, reg_info->alt_name);
76 s->Printf (fmt, reg_info->name);
84 format = reg_info->format;
89 reg_info->byte_size, // item_byte_siz
    [all...]
ValueObjectRegister.cpp 231 const RegisterInfo *reg_info = m_reg_ctx_sp->GetRegisterInfoByName (name.AsCString()); local
232 if (reg_info != NULL)
233 valobj = new ValueObjectRegister(*this, m_reg_ctx_sp, reg_info->kinds[eRegisterKindLLDB]);
246 const RegisterInfo *reg_info = m_reg_ctx_sp->GetRegisterInfoByName (name.AsCString()); local
247 if (reg_info != NULL)
248 return reg_info->kinds[eRegisterKindLLDB];
259 const RegisterInfo *reg_info = m_reg_ctx_sp->GetRegisterInfoAtIndex (reg_num); local
260 if (reg_info)
262 m_reg_info = *reg_info;
263 if (reg_info->name
    [all...]
  /external/lldb/include/lldb/Target/
RegisterContext.h 57 ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value) = 0;
60 WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value) = 0;
106 ReadRegisterValueFromMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t src_addr, uint32_t src_len, RegisterValue &reg_value);
109 WriteRegisterValueToMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue &reg_value);
157 ReadRegisterAsUnsigned (const RegisterInfo *reg_info, uint64_t fail_value);
163 WriteRegisterFromUnsigned (const RegisterInfo *reg_info, uint64_t uval);
  /external/lldb/source/Plugins/UnwindAssembly/InstEmulation/
UnwindAssemblyInstEmulation.h 89 const lldb_private::RegisterInfo *reg_info,
96 const lldb_private::RegisterInfo *reg_info,
116 const lldb_private::RegisterInfo *reg_info,
122 const lldb_private::RegisterInfo *reg_info,
150 MakeRegisterKindValuePair (const lldb_private::RegisterInfo &reg_info);
153 SetRegisterValue (const lldb_private::RegisterInfo &reg_info,
157 GetRegisterValue (const lldb_private::RegisterInfo &reg_info,
UnwindAssemblyInstEmulation.cpp 357 UnwindAssemblyInstEmulation::MakeRegisterKindValuePair (const RegisterInfo &reg_info)
360 if (EmulateInstruction::GetBestRegisterKindAndNumber (&reg_info, reg_kind, reg_num))
366 UnwindAssemblyInstEmulation::SetRegisterValue (const RegisterInfo &reg_info, const RegisterValue &reg_value)
368 m_register_values[MakeRegisterKindValuePair (reg_info)] = reg_value;
372 UnwindAssemblyInstEmulation::GetRegisterValue (const RegisterInfo &reg_info, RegisterValue &reg_value)
374 const uint64_t reg_id = MakeRegisterKindValuePair (reg_info);
383 reg_value.SetUInt(reg_id, reg_info.byte_size);
529 const RegisterInfo *reg_info,
533 if (baton && reg_info)
534 return ((UnwindAssemblyInstEmulation *)baton)->ReadRegister (instruction, reg_info, reg_value)
    [all...]
  /external/lldb/include/lldb/Core/
EmulateInstruction.h 379 const RegisterInfo *reg_info,
385 const RegisterInfo *reg_info,
412 GetRegisterInfo (uint32_t reg_kind, uint32_t reg_num, RegisterInfo &reg_info) = 0;
430 ReadRegister (const RegisterInfo *reg_info,
434 ReadRegisterUnsigned (const RegisterInfo *reg_info,
445 const RegisterInfo *reg_info,
550 const RegisterInfo *reg_info,
558 const RegisterInfo *reg_info,
580 const RegisterInfo *reg_info,
588 const RegisterInfo *reg_info,
    [all...]

Completed in 704 milliseconds

1 2 3 4