gdb: remove TYPE_VARARGS

gdb/ChangeLog:

	* gdbtypes.h (TYPE_VARARGS): Remove, replace all
	uses with type::has_varargs.

Change-Id: Ieea4a64b4bfa4b8be643e68cb403081881133740
This commit is contained in:
Simon Marchi 2020-09-14 11:08:02 -04:00
parent 1d6286ed04
commit a409645d13
17 changed files with 30 additions and 27 deletions

View file

@ -964,7 +964,7 @@ static gcc_type
compile_cplus_convert_func (compile_cplus_instance *instance,
struct type *type, bool strip_artificial)
{
int is_varargs = TYPE_VARARGS (type);
int is_varargs = type->has_varargs ();
struct type *target_type = TYPE_TARGET_TYPE (type);
/* Functions with no debug info have no return type. Ideally we'd