From 6a0af0f2d27a3b5c748674072b8494884b8d0902 Mon Sep 17 00:00:00 2001 From: jkratoch Date: Tue, 21 Oct 2008 19:34:44 +0000 Subject: [PATCH] * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): Update TYPE_FIELD_STATIC removed before. --- gdb/ChangeLog | 5 +++++ gdb/mips-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3c110480b4..cc6b0bb2e0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-10-21 Jan Kratochvil + + * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): Update TYPE_FIELD_STATIC + removed before. + 2008-10-20 Joel Brobecker * NEWS: Add entry mentioning thread-support on Tru64 diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 8304a02e27..1babccec23 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; -- 2.11.0