diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:02 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:02 -0400 |
commit | a409645d13f6cddef4827cf7240c01ec3e09559c (patch) | |
tree | a446c4702fd973b9e71b1fea594bf3e3aff5a68b /gdb/rust-lang.c | |
parent | 1d6286ed048eb1997a0afea0f18cb9eb1789f386 (diff) | |
download | gdb-a409645d13f6cddef4827cf7240c01ec3e09559c.zip gdb-a409645d13f6cddef4827cf7240c01ec3e09559c.tar.gz gdb-a409645d13f6cddef4827cf7240c01ec3e09559c.tar.bz2 |
gdb: remove TYPE_VARARGS
gdb/ChangeLog:
* gdbtypes.h (TYPE_VARARGS): Remove, replace all
uses with type::has_varargs.
Change-Id: Ieea4a64b4bfa4b8be643e68cb403081881133740
Diffstat (limited to 'gdb/rust-lang.c')
-rw-r--r-- | gdb/rust-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |