This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v1] Intel(R) MPX registers to the DWARF enumeration.
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Walfred Tedeschi <walfred dot tedeschi at intel dot com>, GDB <gdb-patches at sourceware dot org>
- Date: Sun, 6 Dec 2015 09:42:00 -0800
- Subject: Re: [PATCH v1] Intel(R) MPX registers to the DWARF enumeration.
- Authentication-results: sourceware.org; auth=none
- References: <1445864086-4831-1-git-send-email-walfred dot tedeschi at intel dot com> <1445864086-4831-5-git-send-email-walfred dot tedeschi at intel dot com> <20151206163527 dot GA4819 at adacore dot com>
On Sun, Dec 6, 2015 at 8:35 AM, Joel Brobecker <brobecker@adacore.com> wrote:
>> Add registers as defined in the ABI adapted for MPX.
>> As presented at:
>> https://github.com/hjl-tools/x86-psABI/wiki/X86-psABI
>>
>> 2013-05-06 Walfred Tedeschi <walfred.tedeschi@intel.com>
>>
>> * amd64-tdep.c (amd64_dwarf_regmap): Add mpx registers.
>> * amd64-tdep.h (amd64_regnum): Add mpx registers.
>
> Small nit: should we spell "MPX"?
>
> BTW - the ABI document reference above seem to only indicate
> registers 126-129 as "reserved" rather than bound registers 0-4.
> Is that normal?
>
We used to have DWARF register map for bound registers. But
it was determined that it isn't needed. If it isn't true, we need to
revisit it.
--
H.J.