diff options
Diffstat (limited to 'gdb/c-typeprint.c')
-rw-r--r-- | gdb/c-typeprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c index 955cfd60451..29ac595cb25 100644 --- a/gdb/c-typeprint.c +++ b/gdb/c-typeprint.c @@ -277,7 +277,7 @@ cp_type_print_method_args (struct type *mtype, const char *prefix, enum language language, const struct type_print_options *flags) { - struct field *args = TYPE_FIELDS (mtype); + struct field *args = mtype->fields (); int nargs = mtype->num_fields (); int varargs = TYPE_VARARGS (mtype); int i; |