From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28869 invoked by alias); 24 Jun 2010 20:04:01 -0000 Received: (qmail 28852 invoked by uid 22791); 24 Jun 2010 20:04:00 -0000 X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=BAYES_00,RCVD_IN_PSBL,SARE_RECV_FREESERVE X-Spam-Check-By: sourceware.org Received: from smtp6.freeserve.com (HELO smtp6.freeserve.com) (193.252.22.192) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Jun 2010 20:03:55 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3623.me.freeserve.com (SMTP Server) with ESMTP id 3319E700004D; Thu, 24 Jun 2010 22:03:53 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3623.me.freeserve.com (SMTP Server) with ESMTP id 243907000199; Thu, 24 Jun 2010 22:03:53 +0200 (CEST) Received: from barnowl.buzzard.freeserve.co.uk (unknown [95.151.41.109]) by mwinf3623.me.freeserve.com (SMTP Server) with ESMTP id 056BE700004D; Thu, 24 Jun 2010 22:03:53 +0200 (CEST) Received: from [192.168.2.11] (unknown [192.168.2.11]) by barnowl.buzzard.freeserve.co.uk (Postfix) with ESMTP id B07FA7F4AA; Thu, 24 Jun 2010 21:03:52 +0100 (BST) Message-ID: <4C23BA28.80106@buzzard.freeserve.co.uk> Date: Thu, 24 Jun 2010 20:04:00 -0000 From: Richard Earnshaw User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Daniel Jacobowitz CC: Kazu Hirata , gdb-patches@sourceware.org Subject: Re: [patch] Add support for ARMv7M devices. References: <20100609140312.291855664EF@henry1.codesourcery.com> <4C101E0B.4040006@buzzard.freeserve.co.uk> <20100624164149.GD8410@caradoc.them.org> In-Reply-To: <20100624164149.GD8410@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2010-06/txt/msg00556.txt.bz2 On 24/06/10 17:41, Daniel Jacobowitz wrote: > > On Thu, Jun 10, 2010 at 12:04:43AM +0100, Richard Earnshaw wrote: >> It looks to me as though this code should also mostly apply to ARMv6M >> as well (coretex-m0/1). However, the choice of name >> 'org.gnu.gdb.arm.core-v7m' seems to suggest otherwise. Is there >> really a difference between the support needed for these cores? Or >> would a more suitable name be appropriate? > > Historical note: it's this way because the patch predated v6m. We > need to support the v7m name internally for compatibility, but we > can rename the official version if you like. > > I can imagine GDB wanting to know about BASEPRI / FAULTMASK. But we > provide the privileged registers in another "feature" today, and use > this core-v7m feature with both v6-m and v7-m. So > 'org.gnu.gdb.amr.core-m' instead? > I'd suggest org.gnu.gdb.arm.m-profile