Add pid argument in aarch64_get_debug_reg_state
authorYao Qi <yao.qi@linaro.org>
Tue, 25 Aug 2015 10:38:29 +0000 (11:38 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 25 Aug 2015 10:39:13 +0000 (11:39 +0100)
commit88e2cf7ee25c72bce35ebe59b13c9701abce9fee
tree9296376dd4d1e025338ee023963310c448f995c6
parent5e35436ed12617494d2a2d190e0faca5613a2e9f
Add pid argument in aarch64_get_debug_reg_state

This patch addes argument pid in aarch64_get_debug_reg_state, so that
its interface is the same on both GDB and GDBserver.

gdb/gdbserver:

2015-018-25  Yao Qi  <yao.qi@linaro.org>

* linux-aarch64-low.c (aarch64_get_debug_reg_state): Add argument pid.
Find proc_info by find_process_pid.  All callers updated.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-aarch64-low.c