This is the mail archive of the
mailing list for the GDB project.
Re: [m68k] correct m68k_convert_register_p for coldfire
On Saturday 07 November 2009 Mark Kettenis wrote:
> > From: Vladimir Prus <firstname.lastname@example.org>
> > Date: Fri, 06 Nov 2009 20:24:47 +0300
> > > Please don't apply this as is without at least trying to
> > > build it... current_gdbarch doesn't exist anymore.
> > Doh! Here's what I've ended up checking it.
> But that doesn't make any sense. On a real m68k,
> register_type(gdbarch, M68K_FP0_REGNUM) will return
> m68881_ext_type(gdbarch) and on coldfire, type !=
> m68881_ext_type(gdbarch) is probably always true.
Does the correction in
make the code sensible?