Call cooked_read in ppu2spu_prev_register
authorYao Qi <yao.qi@linaro.org>
Thu, 18 Jan 2018 12:21:01 +0000 (12:21 +0000)
committerYao Qi <yao.qi@linaro.org>
Thu, 18 Jan 2018 12:21:01 +0000 (12:21 +0000)
commitd679c21a43852305c5eeae957854f6e13d6f884c
tree616c2b2e337d5b9fcd74b6c178b0cc7900979ba8
parent691d2e9af211ff8dd5fa8c96cb961b73a78394d7
Call cooked_read in ppu2spu_prev_register

The code in ppu2spu_prev_register is in fact regcache_cooked_read,
because spu doesn't have gdbarch method pseudo_register_read_value.

gdb:

2018-01-18  Yao Qi  <yao.qi@linaro.org>

* ppc-linux-tdep.c (ppu2spu_prev_register): Call cooked_read.
gdb/ChangeLog
gdb/ppc-linux-tdep.c