gdbarch software_single_step frame_info to regcache: nios2
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)
commit3889f4909e0db5f5ca8ca043ef9825f0ad971fd6
treea333d53a2748cfcd09e9d2ab6ce2892fbba263b6
parenta8f341826d63a5c216c41e10bf1e4e6c3db3ce65
gdbarch software_single_step frame_info to regcache: nios2

gdb:

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

* nios2-tdep.c (nios2_get_next_pc): Replace parameter frame
with regcache.  Call regcache_raw_get_signed instead of
get_frame_register_unsigned.
(nios2_software_single_step): Call get_regcache_arch
instead of get_frame_arch.
gdb/ChangeLog
gdb/nios2-tdep.c