[gdbserver, aarch64] Use linux_{set,get}_pc_{64,32}bit
authorYao Qi <yao.qi@linaro.org>
Fri, 12 Feb 2016 16:08:25 +0000 (16:08 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 12 Feb 2016 16:08:25 +0000 (16:08 +0000)
commita5652c21a829088da97a525fbcd9c9912b64c9dc
treea9997ac55dae0620ea7065ac0ab4c28d45ed23bd
parent01113bc1c50ff1202517377afd7162861e66846f
[gdbserver, aarch64] Use linux_{set,get}_pc_{64,32}bit

We can use shared functions linux_{set,get}_pc_{64,32}bit in
linux-aarch64-low.c to write and read pc.

gdb/gdbserver:

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

* linux-aarch64-low.c (aarch64_get_pc): Call linux_get_pc_64bit
or linux_get_pc_32bit.
(aarch64_set_pc): Call linux_set_pc_64bit or linux_set_pc_32bit.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-aarch64-low.c