Fetch and store FP registers by PTRACE_{G,S}ETREGSET
authorYao Qi <yao.qi@linaro.org>
Mon, 1 Jun 2015 11:13:02 +0000 (12:13 +0100)
committerYao Qi <yao.qi@linaro.org>
Mon, 1 Jun 2015 11:13:02 +0000 (12:13 +0100)
commitdf9d7ec9e749c18e9970fb240ca142148dd3bea9
treefb4fda4bb9cfc65c5386c89715a73e4876bf97da
parent10766686b02fce9eedd6217ca76f457106a8142c
Fetch and store FP registers by PTRACE_{G,S}ETREGSET

If kernel supports PTRACE_GETREGSET, GDB uses PTRACE_{G,S}ETREGSET
to fetch and store FP registers.

gdb:

2015-06-01  Yao Qi  <yao.qi@linaro.org>

* arm-linux-nat.c (fetch_fpregister): Use PTRACE_GETREGSET.
(fetch_fpregs): Likewise.
* arm-linux-nat.c (store_fpregister): Use PTRACE_SETREGSET.
(store_fpregs): Likewise.
gdb/ChangeLog
gdb/arm-linux-nat.c
This page took 0.049653 seconds and 4 git commands to generate.