mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 08:38:10 +08:00
gdb: trivial changes to use array_view
Change a few relatively obvious spots using value contents to propagate the use array_view a bit more. Change-Id: I5338a60986f06d5969fec803d04f8423c9288a15
This commit is contained in:
@ -4011,7 +4011,7 @@ value_fetch_lazy_register (struct value *val)
|
||||
else
|
||||
{
|
||||
int i;
|
||||
const gdb_byte *buf = value_contents (new_val).data ();
|
||||
gdb::array_view<const gdb_byte> buf = value_contents (new_val);
|
||||
|
||||
if (VALUE_LVAL (new_val) == lval_register)
|
||||
fprintf_unfiltered (&debug_file, " register=%d",
|
||||
|
Reference in New Issue
Block a user