This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH V7 5/8] Add MPX support to gdbserver.
- From: Pedro Alves <palves at redhat dot com>
- To: Walfred Tedeschi <walfred dot tedeschi at intel dot com>
- Cc: tromey at redhat dot com, mark dot kettenis at xs4all dot nl, gdb-patches at sourceware dot org
- Date: Tue, 19 Nov 2013 15:09:50 +0000
- Subject: Re: [PATCH V7 5/8] Add MPX support to gdbserver.
- Authentication-results: sourceware.org; auth=none
- References: <1381320034-4092-1-git-send-email-walfred dot tedeschi at intel dot com> <1381320034-4092-6-git-send-email-walfred dot tedeschi at intel dot com>
(Huh, I thought I had pushed the send button for this
yesterday, but turns out I didn't.)
On 10/09/2013 01:00 PM, Walfred Tedeschi wrote:
> 2013-05-22 Walfred Tedeschi <walfred.tedeschi@intel.com>
>
> gdbserver/
> * Makefile.in: Add i386-mpx.c, i386-mpx-linux.c, amd64-mpx.c,
> amd64-mpx-linux.c, x32-mpx.c and x32-mpx-linux.c generation.
>
> * configure.srv (srv_i386_regobj): Add i386-mpx.o.
> (srv_i386_linux_regobj): Add i386-mpx-linux.o.
> (srv_amd64_regobj): Add amd64-mpx.o.
> (srv_amd64_linux_regobj): Add amd64-mpx-linux.o.
> (srv_i386_32bit_xmlfiles): Add i386/32bit-mpx.xml.
> (srv_i386_64bit_xmlfiles): Add i386/64bit-mpx.xml.
>
> * i387-fp.c (num_pl_bnd_register) Added constant.
> (num_pl_bnd_cfg_registers) Added constant.
> (struct i387_xsave) Added reserved area and MPX fields.
> (i387_cache_to_xsave, i387_xsave_to_cache) Add MPX.
>
> * linux-x86-low.c (init_registers_i386_mpx_linux): Declare new
> function.
> (tdesc_i386_mpx_linux): Add MPX amd64 target.
> (init_registers_amd64_mpx_linux): Declare new function.
> (tdesc_amd64_mpx_linux): Add MPX amd64 target.
> (init_registers_x32_mpx_linux): Declare new function.
> (tdesc_x32_mpx_linux): Add MPX amd64 target.
> (x86_64_regmap): Add MPX registers.
> (x86_linux_read_description): Add MPX case.
> (initialize_low_arch): Initialize MPX targets.
FWIW, this looks fine from a add-new-port-to-gdbserver perspective.
--
Pedro Alves