gdbarch software_single_step frame_info to regcache: sparc
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)
commitcd76b525eda02c30c4412698a2ff309b975d417a
treeb728a315626ee8247604152f0ea03f5b112d709a
parent3889f4909e0db5f5ca8ca043ef9825f0ad971fd6
gdbarch software_single_step frame_info to regcache: sparc

gdb:

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

* sparc-tdep.c (sparc_analyze_control_transfer): Replace parameter
frame with regcache.  Call get_current_frame.
(sparc_software_single_step): Call get_regcache_arch instead of
get_frame_arch.  Call regcache_raw_get_unsigned instead of
get_frame_register_unsigned.
gdb/ChangeLog
gdb/sparc-tdep.c