gdbarch software_single_step frame_info to regcache: cris
authorYao Qi <yao.qi@linaro.org>
Tue, 22 Nov 2016 14:05:04 +0000 (14:05 +0000)
committerYao Qi <yao.qi@linaro.org>
Tue, 22 Nov 2016 14:05:04 +0000 (14:05 +0000)
commit5b6e2eee087cf206d5c2bf1f9523217aaf5938aa
tree5a68591203669d0689dd6256b07136bc178e9cea
parent7ab2d0874025af6ee858b32c576f2461c0a1df3d
gdbarch software_single_step frame_info to regcache: cris

gdb:

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

* cris-tdep.c (find_step_target): Replace parameter frame
with regcache.  Call get_regcache_arch instead of
get_frame_arch.  Call regcache_raw_get_unsigned instead of
get_frame_register_unsigned.
(cris_software_single_step): Call get_regcache_arch instead
of get_frame_arch.
gdb/ChangeLog
gdb/cris-tdep.c