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 b2a4544c041..eb70dfe967a 100644 --- a/gdb/compile/compile-cplus-types.c +++ b/gdb/compile/compile-cplus-types.c @@ -595,7 +595,7 @@ compile_cplus_convert_struct_or_union_members gcc_type field_type = instance->convert_type (TYPE_FIELD_TYPE (type, i)); - if (field_is_static (&TYPE_FIELD (type, i))) + if (field_is_static (&type->field (i))) { CORE_ADDR physaddr; |