* m68k-tdep.c (m68k_convert_register_p): Correct

messup.
This commit is contained in:
Vladimir Prus 2009-11-06 19:26:18 +00:00
parent 3c1ac6e7f7
commit bbaa04b8d0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-11-06 Vladimir Prus <vladimir@codesourcery.com>
* m68k-tdep.c (m68k_convert_register_p): Correct
messup.
2009-11-06 Vladimir Prus <vladimir@codesourcery.com>
* m68k-tdep.c (m68k_convert_register_p): Compare with

View File

@ -192,7 +192,6 @@ m68k_convert_register_p (struct gdbarch *gdbarch, int regnum, struct type *type)
if (!gdbarch_tdep (gdbarch)->fpregs_present)
return 0;
return (regnum >= M68K_FP0_REGNUM && regnum <= M68K_FP0_REGNUM + 7
&& type != m68881_ext_type (gdbarch)
&& type != register_type (gdbarch, M68K_FP0_REGNUM));
}