From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18328 invoked by alias); 8 Jan 2010 11:40:36 -0000 Received: (qmail 18311 invoked by uid 22791); 8 Jan 2010 11:40:35 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Jan 2010 11:40:29 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o08BeOx2009054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Jan 2010 06:40:24 -0500 Received: from [10.36.11.172] (vpn2-11-172.ams2.redhat.com [10.36.11.172]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o08BeMlY002247; Fri, 8 Jan 2010 06:40:22 -0500 Message-ID: <4B4719A5.6020609@redhat.com> Date: Fri, 08 Jan 2010 11:40:00 -0000 From: Nick Clifton User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Masaki Muranaka CC: Daniel Jacobowitz , gdb-patches@sourceware.org, binutils@sourceware.org Subject: Re: Can't set architecture to m32c on m32c-elf-gdb. References: <20081203140802.GA6965@caradoc.them.org> <50B2818F-7217-4D63-ABE8-19E444FE9A40@monami-software.com> <4B3C9784.1040309@redhat.com> <21F11493-3DE3-41FA-97D5-B539B54259A2@monami-software.com> <4B44A991.4010101@redhat.com> <271DFD02-74A7-4296-8253-AF4E24A38ADA@monami-software.com> <4B460270.5060808@redhat.com> <440A363D-401D-45C2-ADCB-B80AF3B3048D@monami-software.com> In-Reply-To: <440A363D-401D-45C2-ADCB-B80AF3B3048D@monami-software.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2010-01/txt/msg00161.txt.bz2 Hi Masaki, > Hello Nick, > > Though I've not tried your patch yet, it also will works fine. > > But I feel my patch is better. > Renesas is planning to ship R32C series. They have a lot of extensions but basically based on M32C. > R32C aims automovice areas, so it's possible they have some custom variations. > I think it's better to specify architecture by printable name like cpu-arm.c But that is what my patch does. It fixes the scanning code in the bfd library so that when the user enters: set architecture m32c in gdb it will correctly locate the m32c architecture and not the m16c architecture as it was doing previously. Cheers Nick