From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38045 invoked by alias); 7 Apr 2015 08:31:34 -0000 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 Received: (qmail 37978 invoked by uid 89); 7 Apr 2015 08:31:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 07 Apr 2015 08:31:32 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 177B9AC7BD; Tue, 7 Apr 2015 08:31:31 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t378VTKn019175; Tue, 7 Apr 2015 04:31:30 -0400 Message-ID: <552395E0.1040905@redhat.com> Date: Tue, 07 Apr 2015 08:31:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Yoshinori Sato , gdb-patches@sourceware.org Subject: Re: [PATCH][RX] RXv2 support References: <874mos7ate.wl-ysato@users.sourceforge.jp> In-Reply-To: <874mos7ate.wl-ysato@users.sourceforge.jp> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-04/txt/msg00186.txt.bz2 On 04/07/2015 06:43 AM, Yoshinori Sato wrote: > RXv2 added some register and extend accumulator. > > http://documentation.renesas.com/doc/products/mpumcu/doc/rx_family/r01us0071ej0100_rxv2sm.pdf > > This patch add extb and extent accumulator size. > It isn't right to unconditionally present these registers to the user when debugging targets that don't have them. The right way to fix this is to add a new xml target description, which includes a new feature, like e.g., "org.gnu.gdb.rx2.core". Look for tdesc_has_registers in the various ports in the tree. Thanks, Pedro Alves