gdbarch software_single_step frame_info to regcache: alpha
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)
commit7ab2d0874025af6ee858b32c576f2461c0a1df3d
treea8dc28f4e8582430cc45bd9f793a631349c7e633
parent0187a92f57b516f7171e70bec46701cfdaa6c6bd
gdbarch software_single_step frame_info to regcache: alpha

gdb:

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

* alpha-tdep.c (alpha_deal_with_atomic_sequence): Call
get_regcache_arch instead of get_frame_arch.  Call
regcache_read_pc instead of get_frame_pc.
(alpha_next_pc): Replace parameter frame with regcache.
Call regcache_raw_get_unsigned instead of
get_frame_register_unsigned.
gdb/ChangeLog
gdb/alpha-tdep.c