diff options
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index c602398506b..d700dd8ebd0 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -4856,7 +4856,7 @@ mips_n32n64_fp_arg_chunk_p (struct gdbarch *gdbarch, struct type *arg_type, struct type *field_type; /* We're only looking at normal fields. */ - if (field_is_static (&TYPE_FIELD (arg_type, i)) + if (field_is_static (&arg_type->field (i)) || (TYPE_FIELD_BITPOS (arg_type, i) % 8) != 0) continue; |