Simplify regcache::xfer_part
authorYao Qi <yao.qi@linaro.org>
Tue, 17 Oct 2017 11:29:26 +0000 (12:29 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 17 Oct 2017 11:29:26 +0000 (12:29 +0100)
commitd3037ba6a398d37585b3d34ff9ed439848ba98a1
tree1f1a1ae8ecc4d4c2a6370194879827ae1221b5e5
parent7a7cdfa04b0225dfa6879384075e08d73eaee862
Simplify regcache::xfer_part

Since xfer_part is already a class method, and only
{raw,cooked}_{read,write} are passed to it.  We can remove these two
arguments, but add a bool argument is_raw, indicating raw registers or
cooked registers are accessed.

gdb:

2017-10-17  Yao Qi  <yao.qi@linaro.org>

* regcache.c (regcache::xfer_part): Remove parameters read and
write, add parameter is_raw.  All callers are updated.
gdb/ChangeLog
gdb/regcache.c
gdb/regcache.h
This page took 0.028643 seconds and 4 git commands to generate.