binutils-gdb/gdb/features/i386
Yao Qi 22916b0786 Convert the rest x86 target descriptions
This patch changes the rest of x86 target descriptions in GDB and
GDBserver.

gdb:

2017-09-05  Yao Qi  <yao.qi@linaro.org>

	* amd64-tdep.c (amd64_target_description): Create target
	descriptions.
	(_initialize_amd64_tdep): Don't call functions
	initialize_tdesc_amd64_*.  Add self tests.
	* arch/amd64.c (amd64_create_target_description): Add parameter
	is_linux.  Call set_tdesc_osabi if is_linux is true.
	* arch/amd64.h (amd64_create_target_description): Update the
	declaration.
	* arch/i386.c (i386_create_target_description): Add parameter
	is_linux.  Call set_tdesc_osabi if is_linux is true.
	* arch/i386.h (i386_create_target_description): Update
	declaration.
	* configure.tgt: Add i386.o to gdb_target_obs.
	* features/Makefile (XMLTOC): Remove i386/*.xml.
	* features/i386/amd64-avx-avx512.c: Remove.
	* features/i386/amd64-avx-mpx-avx512-pku.c: Remove.
	* features/i386/amd64-avx-mpx.c: Remove.
	* features/i386/amd64-avx.c: Remove.
	* features/i386/amd64-mpx.c: Remove.
	* features/i386/amd64.c: Remove.
	* features/i386/i386-avx-avx512.c: Remove.
	* features/i386/i386-avx-mpx-avx512-pku.c: Remove.
	* features/i386/i386-avx-mpx.c: Remove.
	* features/i386/i386-avx.c: Remove.
	* features/i386/i386-mmx.c: Remove.
	* features/i386/i386-mpx.c: Remove.
	* features/i386/i386.c: Remove.
	* i386-tdep.c: Don't include features/i386/i386*.c., include
	target-descriptions.h and arch/i386.h.
	(i386_target_description): Create target descriptions.
	(i386_gdbarch_init): Don't call initialize_tdesc_i386_*
	functions.  Do self tests.

gdb/gdbserver:

2017-09-05  Yao Qi  <yao.qi@linaro.org>

	* configure.srv (srv_i386_regobj): Remove.
	(srv_amd64_regobj): Remove.
	(srv_regobj): Set it to "" for x86 non-linux targets.
	* linux-x86-tdesc.c (i386_linux_read_description):
	* lynx-i386-low.c: Include x86-xstate.h and arch/i386.h.
	(init_registers_i386): Remove the declaration.
	(tdesc_i386): Remove the declaration.
	(lynx_i386_arch_setup): Call i386_create_target_description.
	* nto-x86-low.c: Likewise.
	* win32-i386-low.c [__x86_64__]: include arch/amd64.h.
	[!__x86_64__]: include arch/i386.h.
	(i386_arch_setup) [__x86_64__]: Call amd64_create_target_description.
2017-09-05 09:54:54 +01:00
..
32bit-avx512.c Dynamically composite xml in reply to GDB 2017-09-05 09:54:53 +01:00
32bit-avx512.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
32bit-avx.c Dynamically composite xml in reply to GDB 2017-09-05 09:54:53 +01:00
32bit-avx.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
32bit-core.c Dynamically composite xml in reply to GDB 2017-09-05 09:54:53 +01:00
32bit-core.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
32bit-linux.c Dynamically composite xml in reply to GDB 2017-09-05 09:54:53 +01:00
32bit-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
32bit-mpx.c Dynamically composite xml in reply to GDB 2017-09-05 09:54:53 +01:00
32bit-mpx.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
32bit-pkeys.c Dynamically composite xml in reply to GDB 2017-09-05 09:54:53 +01:00
32bit-pkeys.xml Add support for Intel PKRU register to GDB and GDBserver. 2017-02-17 11:44:48 +01:00
32bit-sse.c Dynamically composite xml in reply to GDB 2017-09-05 09:54:53 +01:00
32bit-sse.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
64bit-avx512.c Lazily and dynamically create amd64-linux target descriptions 2017-09-05 09:54:54 +01:00
64bit-avx512.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
64bit-avx.c Lazily and dynamically create amd64-linux target descriptions 2017-09-05 09:54:54 +01:00
64bit-avx.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
64bit-core.c Lazily and dynamically create amd64-linux target descriptions 2017-09-05 09:54:54 +01:00
64bit-core.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
64bit-linux.c Lazily and dynamically create amd64-linux target descriptions 2017-09-05 09:54:54 +01:00
64bit-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
64bit-mpx.c Lazily and dynamically create amd64-linux target descriptions 2017-09-05 09:54:54 +01:00
64bit-mpx.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
64bit-pkeys.c Lazily and dynamically create amd64-linux target descriptions 2017-09-05 09:54:54 +01:00
64bit-pkeys.xml Add support for Intel PKRU register to GDB and GDBserver. 2017-02-17 11:44:48 +01:00
64bit-segments.c Lazily and dynamically create amd64-linux target descriptions 2017-09-05 09:54:54 +01:00
64bit-segments.xml amd64-linux: expose system register FS_BASE and GS_BASE for Linux. 2017-01-27 15:20:14 +01:00
64bit-sse.c Lazily and dynamically create amd64-linux target descriptions 2017-09-05 09:54:54 +01:00
64bit-sse.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
amd64-avx-avx512-linux.xml Add target description for avx-avx512. 2017-02-17 11:44:36 +01:00
amd64-avx-avx512.xml Include the fs_base and gs_base registers in amd64 target descriptions. 2017-07-11 09:46:29 -07:00
amd64-avx-linux.xml amd64-linux: expose system register FS_BASE and GS_BASE for Linux. 2017-01-27 15:20:14 +01:00
amd64-avx-mpx-avx512-pku-linux.xml Add support for Intel PKRU register to GDB and GDBserver. 2017-02-17 11:44:48 +01:00
amd64-avx-mpx-avx512-pku.xml Include the fs_base and gs_base registers in amd64 target descriptions. 2017-07-11 09:46:29 -07:00
amd64-avx-mpx-linux.xml amd64-linux: expose system register FS_BASE and GS_BASE for Linux. 2017-01-27 15:20:14 +01:00
amd64-avx-mpx.xml Include the fs_base and gs_base registers in amd64 target descriptions. 2017-07-11 09:46:29 -07:00
amd64-avx.xml Include the fs_base and gs_base registers in amd64 target descriptions. 2017-07-11 09:46:29 -07:00
amd64-linux.xml amd64-linux: expose system register FS_BASE and GS_BASE for Linux. 2017-01-27 15:20:14 +01:00
amd64-mpx-linux.xml amd64-linux: expose system register FS_BASE and GS_BASE for Linux. 2017-01-27 15:20:14 +01:00
amd64-mpx.xml Include the fs_base and gs_base registers in amd64 target descriptions. 2017-07-11 09:46:29 -07:00
amd64.xml Include the fs_base and gs_base registers in amd64 target descriptions. 2017-07-11 09:46:29 -07:00
i386-avx-avx512-linux.xml Add target description for avx-avx512. 2017-02-17 11:44:36 +01:00
i386-avx-avx512.xml Add target description for avx-avx512. 2017-02-17 11:44:36 +01:00
i386-avx-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
i386-avx-mpx-avx512-pku-linux.xml Add support for Intel PKRU register to GDB and GDBserver. 2017-02-17 11:44:48 +01:00
i386-avx-mpx-avx512-pku.xml Add support for Intel PKRU register to GDB and GDBserver. 2017-02-17 11:44:48 +01:00
i386-avx-mpx-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
i386-avx-mpx.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
i386-avx.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
i386-linux.xml Adjust the order of 32bit-linux.xml and 32bit-sse.xml in i386/i386-linux.xml 2017-06-20 12:08:33 +01:00
i386-mmx-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
i386-mmx.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
i386-mpx-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
i386-mpx.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
i386.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
x32-avx-avx512-linux.xml Add target description for avx-avx512. 2017-02-17 11:44:36 +01:00
x32-avx-linux.xml amd64-linux: expose system register FS_BASE and GS_BASE for Linux. 2017-01-27 15:20:14 +01:00
x32-core.c Lazily and dynamically create amd64-linux target descriptions 2017-09-05 09:54:54 +01:00
x32-core.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
x32-linux.xml amd64-linux: expose system register FS_BASE and GS_BASE for Linux. 2017-01-27 15:20:14 +01:00