* mips-tdep.c (mips_n32n64_fp_arg_chunk_p): Update TYPE_FIELD_STATIC

removed before.
This commit is contained in:
Jan Kratochvil 2008-10-21 19:34:44 +00:00
parent e449363ae2
commit 5bc60cfb35
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
* mips-tdep.c (mips_n32n64_fp_arg_chunk_p): Update TYPE_FIELD_STATIC
removed before.
2008-10-20 Joel Brobecker <brobecker@adacore.com>
* NEWS: Add entry mentioning thread-support on Tru64

View File

@ -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;