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/rust-lang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/rust-lang.c') diff --git a/gdb/rust-lang.c b/gdb/rust-lang.c index a0310a0..b8ab59b 100644 --- a/gdb/rust-lang.c +++ b/gdb/rust-lang.c @@ -779,7 +779,7 @@ rust_internal_print_type (struct type *type, const char *varstring, case TYPE_CODE_FUNC: /* Delegate varargs to the C printer. */ - if (TYPE_VARARGS (type)) + if (type->has_varargs ()) goto c_printer; fputs_filtered ("fn ", stream); -- cgit v1.1