aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2008-10-21 19:34:44 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2008-10-21 19:34:44 +0000
commit5bc60cfb35beeb5e8cde48af666ce2a2b7164966 (patch)
tree2331ca264bd826e1e3bffd49a0ea66a3116493a7 /gdb/mips-tdep.c
parente449363ae21b442b04c105e1fc6c8720faf2d8ef (diff)
downloadgdb-5bc60cfb35beeb5e8cde48af666ce2a2b7164966.zip
gdb-5bc60cfb35beeb5e8cde48af666ce2a2b7164966.tar.gz
gdb-5bc60cfb35beeb5e8cde48af666ce2a2b7164966.tar.bz2
* mips-tdep.c (mips_n32n64_fp_arg_chunk_p): Update TYPE_FIELD_STATIC
removed before.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 8304a02..1babcce 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -3034,7 +3034,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 (TYPE_FIELD_STATIC (arg_type, i)
+ if (field_is_static (&TYPE_FIELD (arg_type, i))
|| (TYPE_FIELD_BITPOS (arg_type, i) % 8) != 0)
continue;