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:
parent
2a50938ab7
commit
46680d22de
5 changed files with 19 additions and 32 deletions
|
@ -1261,7 +1261,7 @@ frame_unwind_register_value (frame_info *next_frame, int regnum)
|
|||
else
|
||||
{
|
||||
int i;
|
||||
const gdb_byte *buf = value_contents (value).data ();
|
||||
gdb::array_view<const gdb_byte> buf = value_contents (value);
|
||||
|
||||
fprintf_unfiltered (&debug_file, " bytes=");
|
||||
fprintf_unfiltered (&debug_file, "[");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue