forked from Imagelibrary/binutils-gdb
* mips-tdep.c (mips_pseudo_register_type): Use
mips_float_register_p.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2012-06-06 Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
* mips-tdep.c (mips_pseudo_register_type): Use
|
||||
mips_float_register_p.
|
||||
|
||||
2012-06-06 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* infrun.c (handle_inferior_event): Remove calls to
|
||||
|
||||
@@ -1015,8 +1015,7 @@ mips_pseudo_register_type (struct gdbarch *gdbarch, int regnum)
|
||||
if (TYPE_LENGTH (rawtype) == 0)
|
||||
return rawtype;
|
||||
|
||||
if (rawnum >= mips_regnum (gdbarch)->fp0
|
||||
&& rawnum < mips_regnum (gdbarch)->fp0 + 32)
|
||||
if (mips_float_register_p (gdbarch, rawnum))
|
||||
/* Present the floating point registers however the hardware did;
|
||||
do not try to convert between FPU layouts. */
|
||||
return rawtype;
|
||||
|
||||
Reference in New Issue
Block a user