]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/frame.c
gdb: trivial changes to use array_view
[thirdparty/binutils-gdb.git] / gdb / frame.c
index 7944d1edef8d5f1a97f40754ffd939e0313c5763..896d80d87bf16b913be6fc9281b59f3ec30e63e1 100644 (file)
@@ -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, "[");