forked from Imagelibrary/binutils-gdb
Turn value_contents_eq into a method
This changes value_contents_eq to be a method of value. It also converts the static function value_contents_bits_eq into a private method. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -199,9 +199,9 @@ val_print_packed_array_elements (struct type *type, const gdb_byte *valaddr,
|
||||
if (check_typedef (v0->type ())->length ()
|
||||
!= check_typedef (v1->type ())->length ())
|
||||
break;
|
||||
if (!value_contents_eq (v0, v0->embedded_offset (),
|
||||
v1, v1->embedded_offset (),
|
||||
check_typedef (v0->type ())->length ()))
|
||||
if (!v0->contents_eq (v0->embedded_offset (),
|
||||
v1, v1->embedded_offset (),
|
||||
check_typedef (v0->type ())->length ()))
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user