]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Simplify {supply,fill}_{g,fp}regset
authorYao Qi <yao.qi@linaro.org>
Mon, 2 Oct 2017 14:09:14 +0000 (15:09 +0100)
committerYao Qi <yao.qi@linaro.org>
Fri, 13 Oct 2017 10:52:11 +0000 (11:52 +0100)
commitee085f442ba373132a5c10557022bc7025dae270
treef58d31ecd1b0e4548cdd25d3d10ace4a92d6e65c
parentc2db73a25d7cdd14f68a9efb2eec895c0e033225
Simplify {supply,fill}_{g,fp}regset

{supply,fill}_{g,fp}regset methods need only to access reg_buffer, instead
of regcache, so this patch change parameter type to reg_buffer.

Only works for aarch64 native

gdb:

2017-10-02  Yao Qi  <yao.qi@linaro.org>
:
* aarch64-linux-nat.c (aarch64_linux_store_inferior_registers):
(fill_gregset): -
(fill_gregset): +
(supply_gregset): -
(supply_gregset): +
(supply_gregset):
(fill_fpregset): -
(fill_fpregset): +
(supply_fpregset): -
(supply_fpregset): +
* gregset.h (struct regcache;):
gdb/aarch64-linux-nat.c
gdb/gregset.h