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/breakpoint.c | |
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/breakpoint.c')
0 files changed, 0 insertions, 0 deletions