This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] Remove global variable arm_linux_vfp_register_count in arm-linux-nat.c
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 28 May 2015 10:39:15 +0100
- Subject: Re: [PATCH 1/2] Remove global variable arm_linux_vfp_register_count in arm-linux-nat.c
- Authentication-results: sourceware.org; auth=none
- References: <1432654291-25436-1-git-send-email-yao dot qi at linaro dot org>
On 26/05/15 16:31, Yao Qi wrote:
gdb:
2015-05-26 Yao Qi<yao.qi@linaro.org>
* arm-linux-nat.c (arm_linux_vfp_register_count): Remove.
(fetch_vfp_regs): Use vfp_register_count from gdbarch_tdep
instead of arm_linux_vfp_register_count.
(store_vfp_regs): Likewise.
(arm_linux_fetch_inferior_registers): Likewise.
(arm_linux_store_inferior_registers): Likewise.
(arm_linux_read_description): Don't set
arm_linux_vfp_register_count.
* arm-linux-tdep.c (arm_linux_iterate_over_regset_sections):
Adjust.
* arm-tdep.c (arm_gdbarch_init): Add assert on
vfp_register_count.
* arm-tdep.h (struct gdbarch_tdep) <have_vfp_registers>: Rename
field to vfp_register_count. All users updated.
I've pushed two patches in.
--
Yao (éå)