diff options
author | Michael Snyder <msnyder@specifix.com> | 2006-06-08 19:22:46 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2006-06-08 19:22:46 +0000 |
commit | 18a0a5a773d2b2f8c37578a48bff53eb8e1fef4e (patch) | |
tree | f59d9d65566536fdb6b22a21cf566d0b0931ba0d /gdb | |
parent | 2c5295329f5c4e3aa3309c4834103831c0c29c7b (diff) | |
download | gdb-18a0a5a773d2b2f8c37578a48bff53eb8e1fef4e.tar.gz |
2006-06-08 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mips-tdep.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 00f7dcfff6c..f8c6011795d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2006-06-08 Michael Snyder <msnyder@redhat.com> + + * mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs. + 2006-06-08 Nathan Sidwell <nathan@codesourcery.com> * m68k-tdep.c (m68k_dwarf_reg_to_regnum): New. diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index ea6067c4641..f815512c8d9 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -2335,7 +2335,8 @@ fp_register_arg_p (enum type_code typecode, struct type *arg_type) && (typecode == TYPE_CODE_STRUCT || typecode == TYPE_CODE_UNION) && TYPE_NFIELDS (arg_type) == 1 - && TYPE_CODE (TYPE_FIELD_TYPE (arg_type, 0)) == TYPE_CODE_FLT)) + && TYPE_CODE (check_typedef (TYPE_FIELD_TYPE (arg_type, 0))) + == TYPE_CODE_FLT)) && MIPS_FPU_TYPE != MIPS_FPU_NONE); } |