mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* ada-lang.c (unwrap_value): Handle the case where the "F" field
inside a PAD type is a bitfield.
This commit is contained in:
@@ -7973,8 +7973,7 @@ unwrap_value (struct value *val)
|
||||
struct type *type = ada_check_typedef (value_type (val));
|
||||
if (ada_is_aligner_type (type))
|
||||
{
|
||||
struct value *v = value_struct_elt (&val, NULL, "F",
|
||||
NULL, "internal structure");
|
||||
struct value *v = ada_value_struct_elt (val, "F", 0);
|
||||
struct type *val_type = ada_check_typedef (value_type (v));
|
||||
if (ada_type_name (val_type) == NULL)
|
||||
TYPE_NAME (val_type) = ada_type_name (type);
|
||||
|
||||
Reference in New Issue
Block a user