gdbarch software_single_step frame_info to regcache: mips
authorYao Qi <yao.qi@linaro.org>
Tue, 22 Nov 2016 14:05:05 +0000 (14:05 +0000)
committerYao Qi <yao.qi@linaro.org>
Tue, 22 Nov 2016 14:05:05 +0000 (14:05 +0000)
commit7113a196bac7f1134bcdd79ad3e6badcb5d77f95
tree7040f7fd2ebbc1e49a6c38fc6248e816e750721c
parent5b6e2eee087cf206d5c2bf1f9523217aaf5938aa
gdbarch software_single_step frame_info to regcache: mips

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

* mips-tdep.c (mips32_bc1_pc): Replace parameter frame with
regcache.  Call regcache_raw_get_unsigned instead of
get_frame_register_unsigned.
(mips32_next_pc): Likewise.
(micromips_bc1_pc): Likewise.
(micromips_next_pc): Likewise.
(extended_mips16_next_pc): Likewise.
(mips16_next_pc): Likewise.
(mips_next_pc): Likewise.
(mips_software_single_step): Call get_regcache_arch instead
of get_frame_arch.
gdb/ChangeLog
gdb/mips-tdep.c