This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [m68k] correct m68k_convert_register_p for coldfire
> From: Vladimir Prus <vladimir@codesourcery.com>
> Date: Sat, 7 Nov 2009 14:02:19 +0300
>
> On Saturday 07 November 2009 Mark Kettenis wrote:
>
> > > From: Vladimir Prus <vladimir@codesourcery.com>
> > > 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
>
> http://sourceware.org/ml/gdb-cvs/2009-11/msg00044.html
>
> make the code sensible?
It does. Thanks.