Arm: Use read_description funcs in gdbserver
authorAlan Hayward <alan.hayward@arm.com>
Fri, 19 Jul 2019 14:04:48 +0000 (15:04 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Fri, 19 Jul 2019 14:43:49 +0000 (15:43 +0100)
commit7cc17433020a62935e4d91053251fe900d83c7f0
treec8031ea8c3b062b8c5478e1754133814346aa310
parentf42b26179a8606d31959207a2d8eb8582b650c99
Arm: Use read_description funcs in gdbserver

Switch gdbserver over to using feature target descriptions.

Add a function for determining the type of a given target description,
and use where required.

gdb/gdbserver/ChangeLog:

* configure.srv: Add new files. Remove xml generated files.
* linux-aarch32-low.c (initialize_low_arch_aarch32): Don't init
registers.
* linux-aarch32-low.h (tdesc_arm_with_neon): Remove.
* linux-aarch32-tdesc.c: New file.
* linux-aarch32-tdesc.h: New file.
* linux-aarch64-low.c (aarch64_arch_setup): Call aarch32_linux_read_description.
* linux-arm-low.c (init_registers_arm, tdesc_arm)
(init_registers_arm_with_iwmmxt, tdesc_arm_with_iwmmxt)
(init_registers_arm_with_vfpv2, tdesc_arm_with_vfpv2)
(init_registers_arm_with_vfpv3, tdesc_arm_with_vfpv3): Remove.
(arm_fill_wmmxregset, arm_store_wmmxregset, arm_fill_vfpregset)
(arm_store_vfpregset): Call arm_linux_get_tdesc_fp_type.
(arm_read_description): Call arm_linux_read_description.
(initialize_low_arch): Don't init registers.
* linux-arm-tdesc.c: New file.
* linux-arm-tdesc.h: New file.
gdb/gdbserver/ChangeLog
gdb/gdbserver/configure.srv
gdb/gdbserver/linux-aarch32-low.c
gdb/gdbserver/linux-aarch32-low.h
gdb/gdbserver/linux-aarch32-tdesc.c [new file with mode: 0644]
gdb/gdbserver/linux-aarch32-tdesc.h [new file with mode: 0644]
gdb/gdbserver/linux-aarch64-low.c
gdb/gdbserver/linux-arm-low.c
gdb/gdbserver/linux-arm-tdesc.c [new file with mode: 0644]
gdb/gdbserver/linux-arm-tdesc.h [new file with mode: 0644]