gdbarch software_single_step frame_info to regcache: rs6000
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)
commit41e26ad32d17ee35f79f629654811f5e8656cab8
treeca5cdd76188182e8fbffd918d1928aca155bc6c7
parentad76968956f30bed6d120e0dfd247034e0855fea
gdbarch software_single_step frame_info to regcache: rs6000

gdb:

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

* rs6000-aix-tdep.c (branch_dest): 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.
(rs6000_software_single_step): Likewise.
* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Call
get_regcache_arch instead of get_frame_arch.  Call
regcache_read_pc instead of get_frame_pc.
gdb/ChangeLog
gdb/rs6000-aix-tdep.c
gdb/rs6000-tdep.c