From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31107 invoked by alias); 3 Dec 2008 09:17:15 -0000 Received: (qmail 31083 invoked by uid 22791); 3 Dec 2008 09:17:12 -0000 X-Spam-Check-By: sourceware.org Received: from mail2.asahi-net.or.jp (HELO mail.asahi-net.or.jp) (202.224.39.198) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Dec 2008 09:16:33 +0000 Received: from [192.168.0.75] (p12018-ipbffx02marunouchi.tokyo.ocn.ne.jp [222.147.75.18]) by mail.asahi-net.or.jp (Postfix) with ESMTP id A14EC545DA; Wed, 3 Dec 2008 18:16:30 +0900 (JST) Message-Id: From: Masaki Muranaka To: gdb-patches@sourceware.org, binutils@sourceware.org Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Can't set architecture to m32c on m32c-elf-gdb. Date: Wed, 03 Dec 2008 09:17:00 -0000 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: 2008-12/txt/msg00047.txt.bz2 Hello, I couldn't set architecture m16c to m32c on the HEAD revision of gdb, I think it is caused by definition in bfd/cpu-m32c.c but I'm not certain. Any comments appreciated. Thanks. Index: cpu-m32c.c =================================================================== RCS file: /cvs/src/src/bfd/cpu-m32c.c,v retrieving revision 1.3 diff -u -p -r1.3 cpu-m32c.c --- cpu-m32c.c 3 Jul 2007 14:26:40 -0000 1.3 +++ cpu-m32c.c 3 Dec 2008 09:07:51 -0000 @@ -47,7 +47,7 @@ const bfd_arch_info_type bfd_m32c_arch = 8, /* Bits per byte. */ bfd_arch_m32c, /* Architecture. */ bfd_mach_m16c, /* Machine. */ - "m32c", /* Architecture name. */ + "m16c", /* Architecture name. */ "m16c", /* Printable name. */ 4, /* Section align power. */ TRUE, /* The default ? */ -- Masaki Muranaka Monami Software