diff options
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 031609d..2e1df7a 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -7445,7 +7445,7 @@ ada_template_to_fixed_record_type_1 (struct type *type, { off = align_value (off, field_alignment (type, f)) + TYPE_FIELD_BITPOS (type, f); - TYPE_FIELD_BITPOS (rtype, f) = off; + SET_FIELD_BITPOS (TYPE_FIELD (rtype, f), off); TYPE_FIELD_BITSIZE (rtype, f) = 0; if (ada_is_variant_part (type, f)) |