diff options
Diffstat (limited to 'gdb/nds32-tdep.c')
-rw-r--r-- | gdb/nds32-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nds32-tdep.c b/gdb/nds32-tdep.c index 94ac234..fc90797 100644 --- a/gdb/nds32-tdep.c +++ b/gdb/nds32-tdep.c @@ -1495,7 +1495,7 @@ nds32_push_dummy_call (struct gdbarch *gdbarch, struct value *function, For ABI2FP+, the caller pushes only named arguments in registers and pushes all unnamed arguments in stack. */ - if (abi_use_fpr && TYPE_VARARGS (func_type) + if (abi_use_fpr && func_type->has_varargs () && i >= func_type->num_fields ()) goto use_stack; |