diff options
author | Alan Hayward <alan.hayward@arm.com> | 2019-06-25 11:02:32 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2019-07-04 12:47:42 +0100 |
commit | 350fab54163e2dd178609d268e80bf31042d182d (patch) | |
tree | f7d48bdd52a381b2f876ae6cf3a4ac58ec29adf9 /gdb/gdbserver/linux-cris-low.c | |
parent | f0452268d6c7296106aba81f532b04dc08187352 (diff) | |
download | gdb-350fab54163e2dd178609d268e80bf31042d182d.zip gdb-350fab54163e2dd178609d268e80bf31042d182d.tar.gz gdb-350fab54163e2dd178609d268e80bf31042d182d.tar.bz2 |
Arm/AArch64: Use a single set of Arm register set size defines
Both targets were using a mixture of defines and hardcoded values.
Add a standard set in arch/arm.h and use throughout, ensuring that
none of the existing sizes change.
No functionality changes.
gdb/ChangeLog:
* aarch32-linux-nat.h (VFP_REGS_SIZE): Remove define.
* aarch64-linux-nat.c (fetch_fpregs_from_thread)
(store_fpregs_to_thread)
(aarch64_linux_nat_target::read_description): Use ARM_VFP3_REGS_SIZE.
* arch/arm.h (IWMMXT_VEC_REGISTER_SIZE, ARM_CORE_REGS_SIZE)
(ARM_FP_REGS_SIZE, ARM_VFP2_REGS_SIZE, ARM_VFP3_REGS_SIZE)
(IWMMXT_REGS_SIZE): Add define.
* arm-linux-nat.c (IWMMXT_REGS_SIZE): Remove define.
(fetch_vfp_regs, store_vfp_regs)
(arm_linux_nat_target::read_description): Use ARM_VFP3_REGS_SIZE.
* arm-tdep.c (arm_register_g_packet_guesses): Use new defines.
gdb/gdbserver/ChangeLog:
* linux-aarch32-low.c (arm_read_description, arm_regsets): Use new
defines.
* linux-arm-low.c (arm_read_description, arm_regsets): Likewise.
Diffstat (limited to 'gdb/gdbserver/linux-cris-low.c')
0 files changed, 0 insertions, 0 deletions