mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 11:04:18 +08:00
22916b0786
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. |
||
---|---|---|
.. | ||
32bit-avx512.c | ||
32bit-avx512.xml | ||
32bit-avx.c | ||
32bit-avx.xml | ||
32bit-core.c | ||
32bit-core.xml | ||
32bit-linux.c | ||
32bit-linux.xml | ||
32bit-mpx.c | ||
32bit-mpx.xml | ||
32bit-pkeys.c | ||
32bit-pkeys.xml | ||
32bit-sse.c | ||
32bit-sse.xml | ||
64bit-avx512.c | ||
64bit-avx512.xml | ||
64bit-avx.c | ||
64bit-avx.xml | ||
64bit-core.c | ||
64bit-core.xml | ||
64bit-linux.c | ||
64bit-linux.xml | ||
64bit-mpx.c | ||
64bit-mpx.xml | ||
64bit-pkeys.c | ||
64bit-pkeys.xml | ||
64bit-segments.c | ||
64bit-segments.xml | ||
64bit-sse.c | ||
64bit-sse.xml | ||
amd64-avx-avx512-linux.xml | ||
amd64-avx-avx512.xml | ||
amd64-avx-linux.xml | ||
amd64-avx-mpx-avx512-pku-linux.xml | ||
amd64-avx-mpx-avx512-pku.xml | ||
amd64-avx-mpx-linux.xml | ||
amd64-avx-mpx.xml | ||
amd64-avx.xml | ||
amd64-linux.xml | ||
amd64-mpx-linux.xml | ||
amd64-mpx.xml | ||
amd64.xml | ||
i386-avx-avx512-linux.xml | ||
i386-avx-avx512.xml | ||
i386-avx-linux.xml | ||
i386-avx-mpx-avx512-pku-linux.xml | ||
i386-avx-mpx-avx512-pku.xml | ||
i386-avx-mpx-linux.xml | ||
i386-avx-mpx.xml | ||
i386-avx.xml | ||
i386-linux.xml | ||
i386-mmx-linux.xml | ||
i386-mmx.xml | ||
i386-mpx-linux.xml | ||
i386-mpx.xml | ||
i386.xml | ||
x32-avx-avx512-linux.xml | ||
x32-avx-linux.xml | ||
x32-core.c | ||
x32-core.xml | ||
x32-linux.xml |