From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74826 invoked by alias); 8 Sep 2015 10:06:47 -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 74788 invoked by uid 89); 8 Sep 2015 10:06:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f49.google.com Received: from mail-pa0-f49.google.com (HELO mail-pa0-f49.google.com) (209.85.220.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 08 Sep 2015 10:06:45 +0000 Received: by padhy16 with SMTP id hy16so118263982pad.1 for ; Tue, 08 Sep 2015 03:06:43 -0700 (PDT) X-Received: by 10.68.191.130 with SMTP id gy2mr57101035pbc.124.1441706803107; Tue, 08 Sep 2015 03:06:43 -0700 (PDT) Received: from E107787-LIN (power-aix.osuosl.org. [140.211.15.154]) by smtp.gmail.com with ESMTPSA id rl9sm2779035pab.24.2015.09.08.03.06.39 (version=TLS1_2 cipher=AES128-SHA256 bits=128/128); Tue, 08 Sep 2015 03:06:42 -0700 (PDT) From: Yao Qi To: Pedro Alves Cc: Yao Qi , Richard Earnshaw , gdb-patches@sourceware.org, pinskia@gmail.com, catalin.udma@freescale.com Subject: Re: [PATCH] aarch64-core.xml: 32-bit cpsr -> 64-bit pstate References: <1441284969-30465-1-git-send-email-yao.qi@linaro.org> <55EE13C3.6000008@foss.arm.com> <86si6p726k.fsf@gmail.com> <55EEA028.9000000@redhat.com> Date: Tue, 08 Sep 2015 10:06:00 -0000 In-Reply-To: <55EEA028.9000000@redhat.com> (Pedro Alves's message of "Tue, 08 Sep 2015 09:45:28 +0100") Message-ID: <86k2s16x8y.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00085.txt.bz2 Pedro Alves writes: > But the change is really not OK as is. You can't have a server _not_ > send "cpsr" and claim that the target description supports > the "org.gnu.gdb.aarch64.core" feature: > > @node AArch64 Features > @subsection AArch64 Features > @cindex target descriptions, AArch64 features > > The @samp{org.gnu.gdb.aarch64.core} feature is required for AArch64 > targets. It should contain registers @samp{x0} through @samp{x30}, > @samp{sp}, @samp{pc}, and @samp{cpsr}. > > If we do go the cpsr->pstate direction, we'll have to add a new > target feature. Yes, I realize that we need to add a new feature, like "org.gnu.gdb.aarch64.core_pstate". I withdraw this patch. --=20 Yao (=E9=BD=90=E5=B0=A7)