Approved by Jim Blandy:
[deliverable/binutils-gdb.git] / gdb / dwarf2read.c
index aab1d46676b559c455ead48bc87fc20941e6aee0..7c78eb5ad819ad3ce483abf9105fd4ae9be1b45a 100644 (file)
@@ -2134,7 +2134,7 @@ dwarf2_add_member_fn (struct field_info *fip, struct die_info *die,
        arg_types[iparams] = TYPE_FIELD_TYPE (die->type, iparams);
 
       /* Set last entry in argument type vector.  */
-      if (TYPE_FLAGS (die->type) & TYPE_FLAG_VARARGS)
+      if (TYPE_VARARGS (die->type))
        arg_types[nparams] = NULL;
       else
        arg_types[nparams] = dwarf2_fundamental_type (objfile, FT_VOID);
This page took 0.033166 seconds and 4 git commands to generate.