gdbarch software_single_step frame_info to regcache: spu
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)
commitb2260160f8cde8de118914ddeaf797bea42e65ce
tree6842efb3e727754c5dde24b4cb3869f95cb69084
parentfb090cfa157e35fac1c10c062fd005e38b894ea4
gdbarch software_single_step frame_info to regcache: spu

gdb:

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

* spu-tdep.c (spu_software_single_step): Call get_regcache_arch
instead of get_frame_arch.  Call regcache_read_pc instead of
get_frame_pc.  Call regcache_raw_get_unsigned instead of
get_frame_register_unsigned.
gdb/ChangeLog
gdb/spu-tdep.c