aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
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/infcall.c
parent27e69b7aedcfee8af8fc6ee4f2e99aca2d41daca (diff)
downloadgdb-7f9f399b34b7e2278eb1e8d6b7653e2b38070c55.zip
gdb-7f9f399b34b7e2278eb1e8d6b7653e2b38070c55.tar.gz
gdb-7f9f399b34b7e2278eb1e8d6b7653e2b38070c55.tar.bz2
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/infcall.c')
-rw-r--r--gdb/infcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index cdb3013..a158cb5 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -1043,7 +1043,7 @@ call_function_by_hand_dummy (struct value *function,
prototyped = 1;
}
else if (i < ftype->num_fields ())
- prototyped = TYPE_PROTOTYPED (ftype);
+ prototyped = ftype->is_prototyped ();
else
prototyped = 0;