Turn record_latest_value into a method
authorTom Tromey <tom@tromey.com>
Sun, 12 Feb 2023 15:04:07 +0000 (08:04 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 13 Feb 2023 22:22:17 +0000 (15:22 -0700)
commit0d0f488e1dd2761d2681f13b318f6e3f5eb6a5e3
tree830fc81825bf5cde8e3e0f3e1f803b152dd440ba
parente6cf1e1b42c1e44610cc8b2997f883275f0b244d
Turn record_latest_value into a method

record_latest_value now access some internals of struct value, so turn
it into a method.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/arc-tdep.c
gdb/guile/scm-value.c
gdb/infcmd.c
gdb/printcmd.c
gdb/python/py-value.c
gdb/value.c
gdb/value.h