• Home
  • Raw
  • Download

Lines Matching refs:reg_entry

1432         register_map_entry_t reg_entry = {  in InitializeRegisters()  local
1441 name_to_regnum[reg_entry.nub_info.name] = reg_entry.debugserver_regnum; in InitializeRegisters()
1443 if (reg_entry.nub_info.value_regs == NULL) { in InitializeRegisters()
1444 reg_data_offset += reg_entry.nub_info.size; in InitializeRegisters()
1447 g_dynamic_register_map.push_back(reg_entry); in InitializeRegisters()
1454 for (auto &reg_entry : g_dynamic_register_map) { in InitializeRegisters() local
1455 if (reg_entry.nub_info.value_regs) { in InitializeRegisters()
1457 for (size_t i = 0; reg_entry.nub_info.value_regs[i] != NULL; ++i) { in InitializeRegisters()
1458 const char *name = reg_entry.nub_info.value_regs[i]; in InitializeRegisters()
1462 reg_entry.value_regnums.push_back(regnum); in InitializeRegisters()
1468 reg_entry.nub_info.offset; in InitializeRegisters()
1476 reg_entry.offset = new_offset; in InitializeRegisters()
1479 reg_entry.nub_info.name); in InitializeRegisters()
1480 reg_entry.offset = UINT32_MAX; in InitializeRegisters()
1484 if (reg_entry.nub_info.update_regs) { in InitializeRegisters()
1485 for (size_t i = 0; reg_entry.nub_info.update_regs[i] != NULL; ++i) { in InitializeRegisters()
1486 const char *name = reg_entry.nub_info.update_regs[i]; in InitializeRegisters()
1490 reg_entry.invalidate_regnums.push_back(regnum); in InitializeRegisters()
1914 const register_map_entry_t *reg_entry = &g_reg_entries[reg_num]; in HandlePacket_qRegisterInfo() local
1916 if (reg_entry->nub_info.name) in HandlePacket_qRegisterInfo()
1917 ostrm << "name:" << reg_entry->nub_info.name << ';'; in HandlePacket_qRegisterInfo()
1918 if (reg_entry->nub_info.alt) in HandlePacket_qRegisterInfo()
1919 ostrm << "alt-name:" << reg_entry->nub_info.alt << ';'; in HandlePacket_qRegisterInfo()
1921 ostrm << "bitsize:" << std::dec << reg_entry->nub_info.size * 8 << ';'; in HandlePacket_qRegisterInfo()
1922 ostrm << "offset:" << std::dec << reg_entry->offset << ';'; in HandlePacket_qRegisterInfo()
1924 switch (reg_entry->nub_info.type) { in HandlePacket_qRegisterInfo()
1939 switch (reg_entry->nub_info.format) { in HandlePacket_qRegisterInfo()
1978 if (reg_set_info && reg_entry->nub_info.set < num_reg_sets) in HandlePacket_qRegisterInfo()
1979 ostrm << "set:" << reg_set_info[reg_entry->nub_info.set].name << ';'; in HandlePacket_qRegisterInfo()
1981 if (reg_entry->nub_info.reg_ehframe != INVALID_NUB_REGNUM) in HandlePacket_qRegisterInfo()
1982 ostrm << "ehframe:" << std::dec << reg_entry->nub_info.reg_ehframe << ';'; in HandlePacket_qRegisterInfo()
1984 if (reg_entry->nub_info.reg_dwarf != INVALID_NUB_REGNUM) in HandlePacket_qRegisterInfo()
1985 ostrm << "dwarf:" << std::dec << reg_entry->nub_info.reg_dwarf << ';'; in HandlePacket_qRegisterInfo()
1987 switch (reg_entry->nub_info.reg_generic) { in HandlePacket_qRegisterInfo()
2031 if (!reg_entry->value_regnums.empty()) { in HandlePacket_qRegisterInfo()
2033 for (size_t i = 0, n = reg_entry->value_regnums.size(); i < n; ++i) { in HandlePacket_qRegisterInfo()
2036 ostrm << RAW_HEXBASE << reg_entry->value_regnums[i]; in HandlePacket_qRegisterInfo()
2041 if (!reg_entry->invalidate_regnums.empty()) { in HandlePacket_qRegisterInfo()
2043 for (size_t i = 0, n = reg_entry->invalidate_regnums.size(); i < n; ++i) { in HandlePacket_qRegisterInfo()
2046 ostrm << RAW_HEXBASE << reg_entry->invalidate_regnums[i]; in HandlePacket_qRegisterInfo()
4262 const register_map_entry_t *reg_entry; in HandlePacket_p() local
4265 reg_entry = &g_reg_entries[reg]; in HandlePacket_p()
4267 reg_entry = NULL; in HandlePacket_p()
4270 if (reg_entry == NULL) { in HandlePacket_p()
4275 } else if (reg_entry->nub_info.reg == (uint32_t)-1) { in HandlePacket_p()
4276 if (reg_entry->nub_info.size > 0) { in HandlePacket_p()
4277 std::basic_string<uint8_t> zeros(reg_entry->nub_info.size, '\0'); in HandlePacket_p()
4281 register_value_in_hex_fixed_width(ostrm, pid, tid, reg_entry, NULL); in HandlePacket_p()
4320 const register_map_entry_t *reg_entry; in HandlePacket_P() local
4325 reg_entry = &g_reg_entries[reg]; in HandlePacket_P()
4327 if (reg_entry->nub_info.set == (uint32_t)-1 && in HandlePacket_P()
4328 reg_entry->nub_info.reg == (uint32_t)-1) { in HandlePacket_P()
4336 reg_value.info = reg_entry->nub_info; in HandlePacket_P()
4337 packet.GetHexBytes(reg_value.value.v_sint8, reg_entry->nub_info.size, 0xcc); in HandlePacket_P()
4344 if (!DNBThreadSetRegisterValueByID(pid, tid, reg_entry->nub_info.set, in HandlePacket_P()
4345 reg_entry->nub_info.reg, &reg_value)) { in HandlePacket_P()