forked from Imagelibrary/binutils-gdb
gdb: remove TYPE_FIELD_PACKED
Replace with a new equivalent "is_packed" method on struct field. Change-Id: I78647be3d408b40b63becb6b6f0fca211bede51c Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
committed by
Simon Marchi
parent
3757d2d44f
commit
8c329d5c65
@@ -259,7 +259,7 @@ cp_print_value_fields (struct value *val, struct ui_file *stream,
|
||||
annotate_field_value ();
|
||||
|
||||
if (!type->field (i).is_static ()
|
||||
&& TYPE_FIELD_PACKED (type, i))
|
||||
&& type->field (i).is_packed ())
|
||||
{
|
||||
struct value *v;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user