Turn some value offset functions into method
authorTom Tromey <tom@tromey.com>
Tue, 31 Jan 2023 17:40:38 +0000 (10:40 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 13 Feb 2023 22:21:07 +0000 (15:21 -0700)
commit391f86284f6fff1011ace7136f4bd2bb438de3c6
tree7d7ab420625896541ce7cd7c3302aa210325b619
parent463b870d01ae26aa3366e99fb86416b1c67f8061
Turn some value offset functions into method

This changes various offset-related functions to be methods of value.
Much of this patch was written by script.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
13 files changed:
gdb/ada-valprint.c
gdb/cp-abi.h
gdb/cp-valprint.c
gdb/d-valprint.c
gdb/dwarf2/expr.c
gdb/eval.c
gdb/gdbtypes.c
gdb/gnu-v3-abi.c
gdb/go-valprint.c
gdb/mi/mi-cmd-stack.c
gdb/valops.c
gdb/value.c
gdb/value.h