From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67173 invoked by alias); 21 Apr 2017 19:53:11 -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 67153 invoked by uid 89); 21 Apr 2017 19:53:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=here! X-HELO: userp1040.oracle.com Received: from userp1040.oracle.com (HELO userp1040.oracle.com) (156.151.31.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 21 Apr 2017 19:53:10 +0000 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3LJr7d3020920 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 21 Apr 2017 19:53:07 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v3LJr6We013391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 21 Apr 2017 19:53:06 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3LJr6VW024261; Fri, 21 Apr 2017 19:53:06 GMT Received: from [192.168.168.173] (/95.85.233.76) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 21 Apr 2017 12:53:05 -0700 Subject: Re: [Patch] New gdbarch method "dwarf_cfa_op" and migrate SPARC to it To: GDB References: <1d0d97ca-b503-0303-5efc-600db754bd27@foss.arm.com> Cc: Pedro Alves , Jiong Wang From: Ivo Raisr Message-ID: <1e9bab7b-affc-8724-4143-ddd0c7a6f6f0@oracle.com> Date: Fri, 21 Apr 2017 19:53:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-04/txt/msg00619.txt.bz2 On 21.4.2017 21:37, Pedro Alves wrote: > On 04/21/2017 03:56 PM, Jiong Wang wrote: > >> Hi Ivo, >> >> Thanks very much for testing this on SPARC platform. >> >> What's really reused is the DWARF CFA number 0x2d behind >> DW_CFA_GNU_window_save. It is in vendor extension space ( >> DW_CFA_lo_user.. DW_CFA_hi_user) so the semantics depends on vendor >> interpreation. > > Maybe the commit log could/should be simplified, because > I was confused too. > > Doesn't the Aarch64 version of the opcode have its own > name, like DW_CFA_GNU_Aarch64_whatever, even if it reuses the > opcode number? I think that would help a lot going forward > if it had one. E.g., it'd avoid confusion, allow for easier > searching, etc. Introducing Aarch64 specific name would be very much appreciated. +1 here! I.