From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16290 invoked by alias); 30 Jun 2007 15:47:04 -0000 Received: (qmail 16282 invoked by uid 22791); 30 Jun 2007 15:47:04 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 30 Jun 2007 15:47:01 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 4F7C9982A4; Sat, 30 Jun 2007 15:47:00 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id DD58A982A3; Sat, 30 Jun 2007 15:46:59 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I4f9Y-0001XM-Ia; Sat, 30 Jun 2007 11:46:28 -0400 Date: Sat, 30 Jun 2007 16:00:00 -0000 From: Daniel Jacobowitz To: Andreas Schwab Cc: Vladimir Prus , gdb-patches@sources.redhat.com Subject: Re: ColdFire/fido support Message-ID: <20070630154628.GA5763@caradoc.them.org> Mail-Followup-To: Andreas Schwab , Vladimir Prus , gdb-patches@sources.redhat.com References: <200705051337.02114.vladimir@codesourcery.com> <200705061552.15456.vladimir@codesourcery.com> <200705281542.47676.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00540.txt.bz2 On Sat, Jun 30, 2007 at 05:35:45PM +0200, Andreas Schwab wrote: > Vladimir Prus 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 > > * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour > from the generic m68k arch. Whoops. OK, thanks! -- Daniel Jacobowitz CodeSourcery