allocate_value_contents (value);
ULONGEST length = TYPE_LENGTH (value_type (value));
- return {value->contents.get () + value->embedded_offset * unit_size, length};
+ return gdb::make_array_view
+ (value->contents.get () + value->embedded_offset * unit_size, length);
}
gdb::array_view<gdb_byte>
allocate_value_contents (value);
ULONGEST length = TYPE_LENGTH (value_type (value));
- return {value->contents.get (), length};
+ return gdb::make_array_view (value->contents.get (), length);
}
struct type *
value_fetch_lazy (value);
ULONGEST length = TYPE_LENGTH (value_type (value));
- return {value->contents.get (), length};
+ return gdb::make_array_view (value->contents.get (), length);
}
gdb::array_view<const gdb_byte>
gdb_assert (!value->lazy);
ULONGEST length = TYPE_LENGTH (value_type (value));
- return {value->contents.get (), length};
+ return gdb::make_array_view (value->contents.get (), length);
}
gdb::array_view<const gdb_byte>