diff options
Diffstat (limited to 'gdb/target-descriptions.c')
-rw-r--r-- | gdb/target-descriptions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c index 044b171..20a79d5 100644 --- a/gdb/target-descriptions.c +++ b/gdb/target-descriptions.c @@ -246,7 +246,7 @@ make_gdb_type (struct gdbarch *gdbarch, struct tdesc_type *ttype) } if (e->size != 0) - TYPE_LENGTH (m_type) = e->size; + m_type->set_length (e->size); } void make_gdb_type_union (const tdesc_type_with_fields *e) |