gdbarch software_single_step frame_info to regcache: aarch64
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)
commit0187a92f57b516f7171e70bec46701cfdaa6c6bd
tree9baa6282b526d8eec9d65166ed76cff4db00ec84
parent9fd15b2e80452f03edb3fb36c2b4c36d05f4ef4e
gdbarch software_single_step frame_info to regcache: aarch64

Use regcache in software_single_step.

gdb:

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

* aarch64-tdep.c (aarch64_software_single_step): Call
get_regcache_arch instead of get_frame_arch.  Call
regcache_read_pc instead of get_frame_pc.
gdb/ChangeLog
gdb/aarch64-tdep.c