This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH V7 5/8] Add MPX support to gdbserver.


Hi Pedro,

Thanks a lot  and Best regards,

-Fred

-----Original Message-----
From: Pedro Alves [mailto:palves@redhat.com] 
Sent: Tuesday, November 19, 2013 4:10 PM
To: Tedeschi, Walfred
Cc: tromey@redhat.com; mark.kettenis@xs4all.nl; gdb-patches@sourceware.org
Subject: Re: [PATCH V7 5/8] Add MPX support to gdbserver.

(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

Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]