Don't use arm_regmap and arm_num_regs in arm_fill_gregset and arm_store_gregset
authorYao Qi <yao.qi@linaro.org>
Thu, 30 Jul 2015 14:07:38 +0000 (15:07 +0100)
committerYao Qi <yao.qi@linaro.org>
Thu, 30 Jul 2015 14:07:38 +0000 (15:07 +0100)
commitdeca266c89cf61c679f759a74bdf362960b0cc2c
treea2eaf8048934260c9089bbb96c191d7c816a0546
parentec74129274bf2fb65aac9381a19731c570f7be29
Don't use arm_regmap and arm_num_regs in arm_fill_gregset and arm_store_gregset

In order to align with arm-linux-nat.c counterparts, we don't use
arm_num_regs and arm_regmap in functions arm_fill_gregset and
arm_store_gregset.  Instead, we use register numbers.  With this
patch applied, arm_fill_gregset and arm_store_gregset don't need
arm_num_regs and arm_regmap, and they will be moved to a separate
file shared for both arm and aarch64 in the following patch.

gdb/gdbserver:

2015-07-30  Yao Qi  <yao.qi@linaro.org>

* linux-arm-low.c: Include arch/arm.h.
(arm_fill_gregset): Don't use arm_num_regs and arm_regmap.
(arm_store_gregset): Likewise.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-arm-low.c
This page took 0.025356 seconds and 4 git commands to generate.