diff options
Diffstat (limited to 'gdb/compile/compile-cplus-types.c')
-rw-r--r-- | gdb/compile/compile-cplus-types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/compile/compile-cplus-types.c b/gdb/compile/compile-cplus-types.c index cea04b7..ac27e83 100644 --- a/gdb/compile/compile-cplus-types.c +++ b/gdb/compile/compile-cplus-types.c @@ -642,7 +642,7 @@ compile_cplus_convert_struct_or_union_members } else { - unsigned long bitsize = TYPE_FIELD_BITSIZE (type, i); + unsigned long bitsize = type->field (i).bitsize (); enum gcc_cp_symbol_kind field_flags = GCC_CP_SYMBOL_FIELD | get_field_access_flag (type, i); |