diff options
Diffstat (limited to 'gdb/rust-lang.c')
-rw-r--r-- | gdb/rust-lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rust-lang.c b/gdb/rust-lang.c index 79284be..3c6a358 100644 --- a/gdb/rust-lang.c +++ b/gdb/rust-lang.c @@ -912,7 +912,7 @@ rust_composite_type (struct type *original, { struct field *field = &result->field (i); - SET_FIELD_BITPOS (*field, bitpos); + field->set_loc_bitpos (bitpos); bitpos += TYPE_LENGTH (type1) * TARGET_CHAR_BIT; field->set_name (field1); @@ -933,7 +933,7 @@ rust_composite_type (struct type *original, if (delta != 0) bitpos += align - delta; } - SET_FIELD_BITPOS (*field, bitpos); + field->set_loc_bitpos (bitpos); field->set_name (field2); field->set_type (type2); |