From a409645d13f6cddef4827cf7240c01ec3e09559c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 14 Sep 2020 11:08:02 -0400 Subject: gdb: remove TYPE_VARARGS gdb/ChangeLog: * gdbtypes.h (TYPE_VARARGS): Remove, replace all uses with type::has_varargs. Change-Id: Ieea4a64b4bfa4b8be643e68cb403081881133740 --- gdb/dwarf2/read.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/dwarf2') diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index e61eda7..45fdaf8 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -15631,7 +15631,7 @@ dwarf2_add_member_fn (struct field_info *fip, struct die_info *die, TYPE_TARGET_TYPE (this_type), this_type->fields (), this_type->num_fields (), - TYPE_VARARGS (this_type)); + this_type->has_varargs ()); /* Handle static member functions. Dwarf2 has no clean way to discern C++ static and non-static @@ -15847,7 +15847,7 @@ quirk_gcc_member_function_pointer (struct type *type, struct objfile *objfile) new_type = alloc_type (objfile); smash_to_method_type (new_type, self_type, TYPE_TARGET_TYPE (pfn_type), pfn_type->fields (), pfn_type->num_fields (), - TYPE_VARARGS (pfn_type)); + pfn_type->has_varargs ()); smash_to_methodptr_type (type, new_type); } @@ -17352,7 +17352,7 @@ read_tag_ptr_to_member_type (struct die_info *die, struct dwarf2_cu *cu) smash_to_method_type (new_type, domain, TYPE_TARGET_TYPE (to_type), to_type->fields (), to_type->num_fields (), - TYPE_VARARGS (to_type)); + to_type->has_varargs ()); type = lookup_methodptr_type (new_type); } else -- cgit v1.1