return;
}
- gdb::def_vector<gdb_byte> contents (note_size);
+ gdb::byte_vector contents (note_size);
if (!bfd_get_section_contents (core_bfd, section, contents.data (),
0, note_size))
{
if (size == 0)
return;
- gdb::def_vector<gdb_byte> buf (size);
+ gdb::byte_vector buf (size);
auto status = m_regcache->cooked_read (regnum, buf.data ());
if (status == REG_UNKNOWN)
readwrite_regcache readwrite (&mockctx.mock_inferior, gdbarch);
readwrite.set_ptid (mockctx.mock_ptid);
- gdb::def_vector<gdb_byte> buf (register_size (gdbarch, nonzero_regnum));
+ gdb::byte_vector buf (register_size (gdbarch, nonzero_regnum));
readwrite.raw_read (nonzero_regnum, buf.data ());
if (register_size (gdbarch, regnum) == 0)
continue;
- gdb::def_vector<gdb_byte> inner_buf (register_size (gdbarch, regnum));
+ gdb::byte_vector inner_buf (register_size (gdbarch, regnum));
SELF_CHECK (REG_VALID == readwrite.cooked_read (regnum,
inner_buf.data ()));
if (register_size (gdbarch, regnum) == 0)
continue;
- gdb::def_vector<gdb_byte> inner_buf (register_size (gdbarch, regnum));
+ gdb::byte_vector inner_buf (register_size (gdbarch, regnum));
enum register_status status = readonly.cooked_read (regnum,
inner_buf.data ());
CORE_ADDR vstart = adi_align_address (vaddr);
int cnt = adi_convert_byte_count (vaddr, bcnt, vstart);
- gdb::def_vector<gdb_byte> buf (cnt);
+ gdb::byte_vector buf (cnt);
int read_cnt = adi_read_versions (vstart, cnt, buf.data ());
if (read_cnt == -1)
error (_("No ADI information"));