mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
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>
This commit is contained in:
@ -576,7 +576,7 @@ coerce_pieced_ref (const value *value)
|
||||
{
|
||||
struct type *type = check_typedef (value->type ());
|
||||
|
||||
if (value_bits_synthetic_pointer (value, value_embedded_offset (value),
|
||||
if (value_bits_synthetic_pointer (value, value->embedded_offset (),
|
||||
TARGET_CHAR_BIT * type->length ()))
|
||||
{
|
||||
const piece_closure *closure
|
||||
|
Reference in New Issue
Block a user