This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob] static_kind removal - MIPS update
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>
- Date: Tue, 21 Oct 2008 21:40:15 +0200
- Subject: [ob] static_kind removal - MIPS update
Hi,
forgot to update the MIPS target, reported by Tom Tromey. Committed.
The committed patch missing this bit:
http://sourceware.org/ml/gdb-patches/2008-10/msg00248.html
Sorry,
Jan
2008-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
* mips-tdep.c (mips_n32n64_fp_arg_chunk_p): Update TYPE_FIELD_STATIC
removed before.
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.486
retrieving revision 1.487
diff -u -r1.486 -r1.487
--- src/gdb/mips-tdep.c 2008/10/02 15:48:06 1.486
+++ src/gdb/mips-tdep.c 2008/10/21 19:34:44 1.487
@@ -3034,7 +3034,7 @@
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;