summaryrefslogtreecommitdiff
path: root/gdb/compile
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:08:01 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:08:01 -0400
commit7f9f399b34b7e2278eb1e8d6b7653e2b38070c55 (patch)
tree57d5f65b7f0d6877964243ce07f9779bda95a7b0 /gdb/compile
parent27e69b7aedcfee8af8fc6ee4f2e99aca2d41daca (diff)
downloadbinutils-gdb-7f9f399b34b7e2278eb1e8d6b7653e2b38070c55.tar.gz
gdb: remove TYPE_PROTOTYPED
gdb/ChangeLog: * gdbtypes.h (TYPE_PROTOTYPED): Remove, replace all uses with type::is_prototyped. Change-Id: Ic96b19c24ce5afcd7e1302a75c39909767e4d885
Diffstat (limited to 'gdb/compile')
-rw-r--r--gdb/compile/compile-c-types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/compile/compile-c-types.c b/gdb/compile/compile-c-types.c
index 3527442e4ed..08c8c6b4a9a 100644
--- a/gdb/compile/compile-c-types.c
+++ b/gdb/compile/compile-c-types.c
@@ -153,7 +153,7 @@ convert_func (compile_c_instance *context, struct type *type)
int i;
gcc_type result, return_type;
struct gcc_type_array array;
- int is_varargs = TYPE_VARARGS (type) || !TYPE_PROTOTYPED (type);
+ int is_varargs = TYPE_VARARGS (type) || !type->is_prototyped ();
struct type *target_type = TYPE_TARGET_TYPE (type);