From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9685 invoked by alias); 4 Dec 2008 13:13:23 -0000 Received: (qmail 9666 invoked by uid 22791); 4 Dec 2008 13:13:23 -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.43rc1) with ESMTP; Thu, 04 Dec 2008 13:12:26 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id AEF0210D5F; Thu, 4 Dec 2008 13:12:24 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 9BB0010A09; Thu, 4 Dec 2008 13:12:24 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1L8E0G-0006iJ-5n; Thu, 04 Dec 2008 08:12:24 -0500 Date: Thu, 04 Dec 2008 13:13:00 -0000 From: Daniel Jacobowitz To: Masaki Muranaka Cc: gdb-patches@sourceware.org, binutils@sourceware.org Subject: Re: Can't set architecture to m32c on m32c-elf-gdb. Message-ID: <20081204131224.GB24868@caradoc.them.org> Mail-Followup-To: Masaki Muranaka , gdb-patches@sourceware.org, binutils@sourceware.org References: <20081203140802.GA6965@caradoc.them.org> <4CFDA3F3-316D-4218-B2CD-8A9B7D403EBC@monami-software.com> <20081204042648.GA25245@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) 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/msg00062.txt.bz2 On Thu, Dec 04, 2008 at 03:47:05PM +0900, Masaki Muranaka wrote: > > See bfd_default_scan for more. I guess it's because the architecture > > is named "m32c", but the default flag is set for m16c. If that's so, > > "set architecture m32c:m32c" should work - does it? > > | For bug reporting instructions, please see: > | . > | (gdb) set architecture m32c:m32c > | Undefined item: "m32c:m32c". > | (gdb) set architecture m32c:m16c > | Undefined item: "m32c:m16c". > > Should I put any commands before 'set architecture'? Strange. I guess I don't understand how this works, then. I thought this would do it: /* Given that printable_name contains no colon, attempt to match: ARCH_NAME [ ":" ] PRINTABLE_NAME? */ -- Daniel Jacobowitz CodeSourcery