diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-07-30 15:07:39 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-07-30 15:07:39 +0100 |
commit | 89abb03951a90203c6635296447b7e96a1248a68 (patch) | |
tree | 69de5c5afecb1b37be182b8f3be28a7d7dce5740 /gdb/gdbserver/ChangeLog | |
parent | deca266c89cf61c679f759a74bdf362960b0cc2c (diff) | |
download | gdb-89abb03951a90203c6635296447b7e96a1248a68.zip gdb-89abb03951a90203c6635296447b7e96a1248a68.tar.gz gdb-89abb03951a90203c6635296447b7e96a1248a68.tar.bz2 |
Use regcache->tdesc instead of arm_hwcap
arm_hwcap is a global variable, and we should avoid using it as much
as we can. Instead of checking arm_hwcap, we can check whether
regcache->tdesc is a certain kind of target description. This is
what this patch does.
gdb/gdbserver:
2015-07-30 Yao Qi <yao.qi@linaro.org>
* linux-arm-low.c (arm_fill_wmmxregset): Don't use arm_hwcap.
Use regcache->tdesc instead.
(arm_store_wmmxregset): Likewise.
(arm_fill_vfpregset): Likewise.
(arm_store_vfpregset): Likewise.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index a3c0a2a..630335c 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,13 @@ 2015-07-30 Yao Qi <yao.qi@linaro.org> + * linux-arm-low.c (arm_fill_wmmxregset): Don't use arm_hwcap. + Use regcache->tdesc instead. + (arm_store_wmmxregset): Likewise. + (arm_fill_vfpregset): Likewise. + (arm_store_vfpregset): Likewise. + +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. |