Turn some value_contents functions into methods
authorTom Tromey <tom@tromey.com>
Tue, 31 Jan 2023 20:45:40 +0000 (13:45 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 13 Feb 2023 22:21:08 +0000 (15:21 -0700)
commitbbe912ba8898f5440028a35d0a206d70a6877ed6
tree0ffc199020a35bd2968ce1a69d3686737eca7933
parentee7bb2944b75ce482dbf3bdb2d396efc98f1cf89
Turn some value_contents functions into methods

This turns value_contents_raw, value_contents_writeable, and
value_contents_all_raw into methods on value.  The remaining functions
will be changed later in the series; they were a bit trickier and so I
didn't include them in this patch.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
32 files changed:
gdb/aarch64-linux-tdep.c
gdb/aarch64-tdep.c
gdb/ada-lang.c
gdb/amd64-tdep.c
gdb/amd64-windows-tdep.c
gdb/arch-utils.c
gdb/arm-tdep.c
gdb/c-lang.c
gdb/cp-valprint.c
gdb/dummy-frame.c
gdb/dwarf2/expr.c
gdb/dwarf2/loc.c
gdb/dwarf2/read.c
gdb/eval.c
gdb/findvar.c
gdb/frame-unwind.c
gdb/frame.c
gdb/i386-tdep.c
gdb/infrun.c
gdb/opencl-lang.c
gdb/ppc-linux-tdep.c
gdb/regcache.c
gdb/riscv-tdep.c
gdb/sparc-tdep.c
gdb/std-regs.c
gdb/tracepoint.c
gdb/valarith.c
gdb/valops.c
gdb/valprint.c
gdb/value.c
gdb/value.h
gdb/windows-tdep.c