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 60ea89b..f3e346e 100644 --- a/gdb/rust-lang.c +++ b/gdb/rust-lang.c @@ -915,7 +915,7 @@ rust_composite_type (struct type *original, SET_FIELD_BITPOS (*field, bitpos); bitpos += TYPE_LENGTH (type1) * TARGET_CHAR_BIT; - FIELD_NAME (*field) = field1; + field->set_name (field1); field->set_type (type1); ++i; } @@ -935,7 +935,7 @@ rust_composite_type (struct type *original, } SET_FIELD_BITPOS (*field, bitpos); - FIELD_NAME (*field) = field2; + field->set_name (field2); field->set_type (type2); ++i; } |