From 46680d22de34be5057a1033eb489c1453e70eecc Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 25 Oct 2021 23:50:22 -0400 Subject: 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 --- gdb/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/frame.c') diff --git a/gdb/frame.c b/gdb/frame.c index 7944d1e..896d80d 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -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 buf = value_contents (value); fprintf_unfiltered (&debug_file, " bytes="); fprintf_unfiltered (&debug_file, "["); -- cgit v1.1