Turn many optimized-out value functions into methods
authorTom Tromey <tom@tromey.com>
Tue, 31 Jan 2023 23:13:08 +0000 (16:13 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 13 Feb 2023 22:22:17 +0000 (15:22 -0700)
commitd00664dbba2802bacfed2335b6f249fc418182a0
treed926f7656d767617427844def6d80e8e72817207
parentcda0334434412d888443e9a98386255f2e0c2eab
Turn many optimized-out value functions into methods

This turns many functions that are related to optimized-out or
availability-checking to be methods of value.  The static function
value_entirely_covered_by_range_vector is also converted to be a
private method.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
37 files changed:
gdb/aarch64-tdep.c
gdb/ada-lang.c
gdb/ada-valprint.c
gdb/alpha-tdep.c
gdb/amd64-tdep.c
gdb/c-valprint.c
gdb/compile/compile-object-load.c
gdb/cp-valprint.c
gdb/d-valprint.c
gdb/dwarf2/expr.c
gdb/dwarf2/loc.c
gdb/f-valprint.c
gdb/findvar.c
gdb/frame.c
gdb/gnu-v2-abi.c
gdb/guile/scm-pretty-print.c
gdb/guile/scm-value.c
gdb/i386-tdep.c
gdb/i387-tdep.c
gdb/infcmd.c
gdb/infrun.c
gdb/mi/mi-cmd-stack.c
gdb/mi/mi-main.c
gdb/mips-tdep.c
gdb/p-valprint.c
gdb/printcmd.c
gdb/python/py-prettyprint.c
gdb/python/py-value.c
gdb/regcache.c
gdb/riscv-tdep.c
gdb/s390-tdep.c
gdb/stack.c
gdb/valarith.c
gdb/valops.c
gdb/valprint.c
gdb/value.c
gdb/value.h