This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [AArch64][6/6] Core file support for "pauth" feature
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: Jiong Wang <jiong dot wang at foss dot arm dot com>, GDB <gdb-patches at sourceware dot org>, Binutils <binutils at sourceware dot org>
- Date: Fri, 11 Aug 2017 16:55:09 +0100
- Subject: Re: [AArch64][6/6] Core file support for "pauth" feature
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com CDEEE6147C
- References: <e4493fb7-9792-1bda-0011-808ac36418ae@foss.arm.com> <fa73a1a8-aafa-d332-9781-ac61893e7a53@redhat.com> <20170810212238.GE8039@1170ee0b50d5> <26b4881d-bec9-e2a6-fe96-13f2a44f7b1f@redhat.com> <20170810220402.GF8039@1170ee0b50d5> <20170811153815.GJ8039@1170ee0b50d5>
On 08/11/2017 04:38 PM, Yao Qi wrote:
> On 17-08-10 22:04:02, Yao Qi wrote:
> How about we unconditionally define HWCAP_ARM64_APIA in aarch64-linux-tdep.c?
> WDYT?
>
> #define HWCAP_ARM64_APIA (1 << 16)
>
Agreed, because that's essentially what I was suggesting. :-)
The difference was that I was suggesting 'AARCH64_ + $org_name', to
follow the scheme of all other GDB-invented Aarch64-related macro symbols.
AARCH64_HWCAP_APIA seems more clearly to me a gdb-replacement name,
than HWCAP_ARM64_APIA. I could totally see someone confusing the latter
for a real kernel-defined name, since it follows the scheme of
other ports. But that's obviously a minor thing.
Thanks,
Pedro Alves