mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
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
@@ -1154,7 +1154,7 @@ c_type_print_base_struct_union (struct type *type, struct ui_file *stream,
|
||||
stream, newshow, level + 4,
|
||||
language, &local_flags, &local_podata);
|
||||
|
||||
if (!is_static && TYPE_FIELD_PACKED (type, i))
|
||||
if (!is_static && type->field (i).is_packed ())
|
||||
{
|
||||
/* It is a bitfield. This code does not attempt
|
||||
to look at the bitpos and reconstruct filler,
|
||||
|
||||
Reference in New Issue
Block a user