diff options
Diffstat (limited to 'gdb/m2-typeprint.c')
-rw-r--r-- | gdb/m2-typeprint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/m2-typeprint.c b/gdb/m2-typeprint.c index 2eea410..552c121 100644 --- a/gdb/m2-typeprint.c +++ b/gdb/m2-typeprint.c @@ -577,8 +577,7 @@ m2_record_fields (struct type *type, struct ui_file *stream, int show, unnamed fields. This would lead to misleading results if the compiler does not put out fields for such things (I don't know what it does). */ - gdb_printf (stream, " : %d", - TYPE_FIELD_BITSIZE (type, i)); + gdb_printf (stream, " : %d", type->field (i).bitsize ()); } gdb_printf (stream, ";\n"); } |