diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 10:40:38 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:07 -0700 |
commit | 391f86284f6fff1011ace7136f4bd2bb438de3c6 (patch) | |
tree | 7d7ab420625896541ce7cd7c3302aa210325b619 /gdb/cp-abi.h | |
parent | 463b870d01ae26aa3366e99fb86416b1c67f8061 (diff) | |
download | gdb-391f86284f6fff1011ace7136f4bd2bb438de3c6.zip gdb-391f86284f6fff1011ace7136f4bd2bb438de3c6.tar.gz gdb-391f86284f6fff1011ace7136f4bd2bb438de3c6.tar.bz2 |
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>
Diffstat (limited to 'gdb/cp-abi.h')
-rw-r--r-- | gdb/cp-abi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-abi.h b/gdb/cp-abi.h index f7c903e..aade336 100644 --- a/gdb/cp-abi.h +++ b/gdb/cp-abi.h @@ -124,7 +124,7 @@ extern struct value *value_virtual_fn_field (struct value **valuep, of the complete object to the start of the embedded subobject VALUE represents. In other words, the enclosing object starts at VALUE_ADDR (VALUE) + VALUE->offset () + - value_embedded_offset (VALUE) + *TOP + VALUE->embedded_offset () + *TOP - If *USING_ENC is non-zero, then *TOP is the offset from the address of the complete object to the enclosing object stored in VALUE. In other words, the enclosing object starts at |