diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-06-01 12:13:02 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-06-01 12:13:02 +0100 |
commit | 10766686b02fce9eedd6217ca76f457106a8142c (patch) | |
tree | 4362456310dd45aed69c8bcc325ad0f4c5a1f33a /gdb/compile/compile-object-run.c | |
parent | 7efe48d196f3fb6f55fc53b8021a410848c0a677 (diff) | |
download | gdb-10766686b02fce9eedd6217ca76f457106a8142c.zip gdb-10766686b02fce9eedd6217ca76f457106a8142c.tar.gz gdb-10766686b02fce9eedd6217ca76f457106a8142c.tar.bz2 |
Fetch and store GP registers by PTRACE_{G,S}ETREGSET
If kernel supports PTRACE_GETREGSET, GDB uses PTRACE_{G,S}ETREGSET
to fetch and store GP registers.
gdb:
2015-06-01 Yao Qi <yao.qi@linaro.org>
* arm-linux-nat.c (fetch_register): Use PTRACE_GETREGSET.
(fetch_regs): Likewise.
(store_regs): Use PTRACE_SETREGSET.
(store_register): Likewise.
Diffstat (limited to 'gdb/compile/compile-object-run.c')
0 files changed, 0 insertions, 0 deletions