aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
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 d211ad8..cdb3013 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -1048,7 +1048,7 @@ call_function_by_hand_dummy (struct value *function,
prototyped = 0;
if (i < ftype->num_fields ())
- param_type = TYPE_FIELD_TYPE (ftype, i);
+ param_type = ftype->field (i).type ();
else
param_type = NULL;