From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12978 invoked by alias); 4 Dec 2008 01:04:40 -0000 Received: (qmail 12959 invoked by uid 22791); 4 Dec 2008 01:04:39 -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; Thu, 04 Dec 2008 01:04:00 +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 52572615B6; Thu, 4 Dec 2008 10:03:57 +0900 (JST) Cc: gdb-patches@sourceware.org, binutils@sourceware.org Message-Id: <4CFDA3F3-316D-4218-B2CD-8A9B7D403EBC@monami-software.com> From: Masaki Muranaka To: Daniel Jacobowitz In-Reply-To: <20081203140802.GA6965@caradoc.them.org> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Can't set architecture to m32c on m32c-elf-gdb. Date: Thu, 04 Dec 2008 01:04:00 -0000 References: <20081203140802.GA6965@caradoc.them.org> 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/msg00052.txt.bz2 Hello, Thanks for your suggestion. On 2008/12/03, at 23:08, Daniel Jacobowitz wrote: > Maybe it's supposed to be "set architecture m32c:m16c" ? No. What I want to is just enable m32c register set when I put "set architecture m32c". Additional information about this issue is follows: Before applied my patch. | (gdb) set architecture m32c | The target architecture is assumed to be m16c The architecture settings is not changed. And there seems to be no change around register settings. | (gdb) print $dma0 | $1 = void It's an unsuitable behaviour, right? After applied my patch. | (gdb) set architecture m32c | The target architecture is assumed to be m32c And we can use some extra registers for m32c. > On Wed, Dec 03, 2008 at 06:16:29PM +0900, Masaki Muranaka wrote: >> 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. > > > -- > Daniel Jacobowitz > CodeSourcery > Masaki Muranaka Monami Software