diff options
author | Tom Tromey <tom@tromey.com> | 2023-02-01 07:27:50 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:22:17 -0700 |
commit | 6c49729e593cd1577080b082be81fe113f8d7943 (patch) | |
tree | 689669836ab3ee33e0aa5d479de325d1a954d4d3 /gdb/gnu-v2-abi.c | |
parent | e3fb3c4772d81a7deb26a3c1af253e9f01b07716 (diff) | |
download | gdb-6c49729e593cd1577080b082be81fe113f8d7943.zip gdb-6c49729e593cd1577080b082be81fe113f8d7943.tar.gz gdb-6c49729e593cd1577080b082be81fe113f8d7943.tar.bz2 |
Turn various value copying-related functions into methods
This patch turns a grab bag of value functions to methods of value.
These are done together because their implementations are
interrelated.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/gnu-v2-abi.c')
-rw-r--r-- | gdb/gnu-v2-abi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c index e820266..fa46d47 100644 --- a/gdb/gnu-v2-abi.c +++ b/gdb/gnu-v2-abi.c @@ -127,7 +127,7 @@ gnuv2_virtual_fn_field (struct value **arg1p, struct fn_field * f, int j, /* The virtual function table is now an array of structures which have the form { int16 offset, delta; void *pfn; }. */ - vtbl = value_primitive_field (arg1, 0, context_vptr_fieldno, + vtbl = arg1->primitive_field (0, context_vptr_fieldno, context_vptr_basetype); /* With older versions of g++, the vtbl field pointed to an array |