This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: ColdFire/fido support
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Vladimir Prus <vladimir at codesourcery dot com>, gdb-patches at sources dot redhat dot com
- Date: Sat, 30 Jun 2007 11:46:28 -0400
- Subject: Re: ColdFire/fido support
- References: <200705051337.02114.vladimir@codesourcery.com> <jeejlvleif.fsf@sykes.suse.de> <200705061552.15456.vladimir@codesourcery.com> <200705281542.47676.vladimir@codesourcery.com> <je7ipltpym.fsf@sykes.suse.de>
On Sat, Jun 30, 2007 at 05:35:45PM +0200, Andreas Schwab wrote:
> Vladimir Prus <vladimir@codesourcery.com> writes:
>
> > + /* The mechanism for returning floating values from function
> > + and the type of long double depend on whether we're
> > + on ColdFire or standard m68k. */
> > +
> > + if (info.bfd_arch_info)
> > + {
> > + const bfd_arch_info_type *coldfire_arch =
> > + bfd_lookup_arch (bfd_arch_m68k, bfd_mach_mcf_isa_a_nodiv);
> > +
> > + if (coldfire_arch
> > + && (*info.bfd_arch_info->compatible)
> > + (info.bfd_arch_info, coldfire_arch))
> > + flavour = m68k_coldfire_flavour;
> > + }
>
> This always sets flavour to m68k_coldfire_flavour, since any m68k arch
> is always compatible with the generic m68k architecture.
>
> Andreas.
>
> 2007-06-30 Andreas Schwab <schwab@suse.de>
>
> * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour
> from the generic m68k arch.
Whoops. OK, thanks!
--
Daniel Jacobowitz
CodeSourcery