diff options
Diffstat (limited to 'gdb/cp-abi.c')
-rw-r--r-- | gdb/cp-abi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c index bbb74d4..6503b4c 100644 --- a/gdb/cp-abi.c +++ b/gdb/cp-abi.c @@ -220,11 +220,13 @@ cplus_typename_from_type_info (struct value *value) return (*current_cp_abi.get_typename_from_type_info) (value); } -int +/* See cp-abi.h. */ + +struct language_pass_by_ref_info cp_pass_by_reference (struct type *type) { if ((current_cp_abi.pass_by_reference) == NULL) - return 0; + return default_pass_by_reference (type); return (*current_cp_abi.pass_by_reference) (type); } |