This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Enable x32 support in gdbserver
- From: Pedro Alves <palves at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "H.J. Lu" <hongjiu dot lu at intel dot com>, GDB <gdb-patches at sourceware dot org>
- Date: Fri, 13 Apr 2012 14:23:04 +0100
- Subject: Re: PATCH: Enable x32 support in gdbserver
- References: <20120412212611.GA22178@intel.com>
On 04/12/2012 10:26 PM, H.J. Lu wrote:
> * Makefile.in (clean): Also remove x32.c x32-linux.c
> x32-avx.c x32-avx-linux.c.
> (x32.o): New target.
> (x32.c): Likewise.
> (x32-linux.o): Likewise.
> (x32-linux.c): Likewise.
> (x32-avx.o): Likewise.
> (x32-avx.c): Likewise.
> (x32-avx-linux.o): Likewise.
> (x32-avx-linux.c): Likewise.
>
> * configure.srv (srv_amd64_regobj): Add x32.o x32-avx.o.
> (srv_amd64_linux_regobj): Add x32-linux.o x32-avx-linux.o.
> (srv_i386_64bit_xmlfiles): Add i386/x32-core.xml.
> (srv_amd64_xmlfiles): Add i386/x32.xml i386/x32-avx.xml.
> (srv_amd64_linux_xmlfiles): Add i386/x32-linux.xml
> i386/x32-avx-linux.xml.
>
> * linux-x86-low.c (init_registers_x32_linux): New prototype.
> (init_registers_x32_avx_linux): Likwise.
> (x86_linux_update_xmltarget): Call init_registers_x32_linux
> or init_registers_x32_avx_linux if linux_is_elf64 is false.
Okay, thanks.
--
Pedro Alves