diff options
Diffstat (limited to 'gdb/msp430-tdep.c')
-rw-r--r-- | gdb/msp430-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/msp430-tdep.c b/gdb/msp430-tdep.c index 6297b58f756..75329dfcc5e 100644 --- a/gdb/msp430-tdep.c +++ b/gdb/msp430-tdep.c @@ -760,7 +760,7 @@ msp430_push_dummy_call (struct gdbarch *gdbarch, struct value *function, if (code_model == MSP_LARGE_CODE_MODEL && (TYPE_CODE (arg_type) == TYPE_CODE_PTR - || TYPE_CODE (arg_type) == TYPE_CODE_REF + || TYPE_IS_REFERENCE (arg_type) || TYPE_CODE (arg_type) == TYPE_CODE_STRUCT || TYPE_CODE (arg_type) == TYPE_CODE_UNION)) { |