Index: gdb/m68k-tdep.c =================================================================== --- gdb/m68k-tdep.c (revision 219692) +++ gdb/m68k-tdep.c (revision 219693) @@ -177,7 +177,7 @@ if (!gdbarch_tdep (gdbarch)->fpregs_present) return 0; return (regnum >= M68K_FP0_REGNUM && regnum <= M68K_FP0_REGNUM + 7 - && type != builtin_type_m68881_ext); + && type != register_type (current_gdbarch, M68K_FP0_REGNUM)); } /* Read a value of type TYPE from register REGNUM in frame FRAME, and Index: ChangeLog.csl =================================================================== --- ChangeLog.csl (revision 219692) +++ ChangeLog.csl (revision 219693) @@ -1,3 +1,10 @@ +2008-08-31 Vladimir Prus + + gdb/ + * m68k-tdep.c (m68k_convert_register_p): Compare with + the actual type of fp registers, not one of the possible + values. + 2008-08-27 Julian Brown gdb/sim/common/