diff options
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index f87b745..8df7523 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -219,7 +219,7 @@ value_arg_coerce (struct gdbarch *gdbarch, struct value *arg, /* Arrays are coerced to pointers to their first element, unless they are vectors, in which case we want to leave them alone, because they are passed by value. */ - if (current_language->c_style_arrays) + if (current_language->c_style_arrays_p ()) if (!type->is_vector ()) type = lookup_pointer_type (TYPE_TARGET_TYPE (type)); break; |