Don't handle unavailable/optimized-out in spu_software_single_step
authorYao Qi <yao.qi@linaro.org>
Fri, 11 Nov 2016 16:50:42 +0000 (16:50 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 11 Nov 2016 16:50:42 +0000 (16:50 +0000)
commit7d15592e06e4abccc97cb8c5670f564327f747e9
tree6ff0384f367d400a4d4400dab4fa28ea486bb38d
parent1f8db343049c3e06483a278e14b7e140ec55c8b3
Don't handle unavailable/optimized-out in spu_software_single_step

When we do software single step, frame is always the innermost one,
so it is impossible to get unavailable/optimized-out errors.

gdb:

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

* spu-tdep.c (spu_software_single_step): Don't call
get_frame_register_bytes, call get_frame_register_unsigned
instead.
gdb/ChangeLog
gdb/spu-tdep.c