diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-11-29 09:11:11 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2018-01-22 11:21:18 +0000 |
commit | 1dd96ef7b72cc94ca348a2edfa2b429986be90d8 (patch) | |
tree | aab2beba8e49fbfa8596fdebbf4b8a2f804db5d7 /libiberty | |
parent | 69021844994c9655c354f5acb451a95f3f0c9bef (diff) | |
download | gdb-1dd96ef7b72cc94ca348a2edfa2b429986be90d8.zip gdb-1dd96ef7b72cc94ca348a2edfa2b429986be90d8.tar.gz gdb-1dd96ef7b72cc94ca348a2edfa2b429986be90d8.tar.bz2 |
Remove regcache::m_readonly_p
Now, m_readonly_p is always false, so we can remove it, and regcache no
longer includes pseudo registers. Some regcache methods are lift up to
its parent class, like reg_buffer or reg_buffer_rw.
gdb:
2017-11-07 Yao Qi <yao.qi@linaro.org>
* regcache.c (regcache::regcache): Update.
(regcache::invalidate): Move it to reg_buffer_rw::invalidate.
(get_thread_arch_aspace_regcache): Update.
(regcache::raw_update): Update.
(regcache::cooked_read): Remove some code.
(regcache::cooked_read_value): Likewise.
(regcache::raw_write): Remove assert on m_readonly_p.
(regcache::raw_supply_integer): Move it to
reg_buffer_rw::raw_supply_integer.
(regcache::raw_supply_zeroed): Likewise.
* regcache.h (reg_buffer_rw) <raw_supply_integer>: New declaration.
<raw_supply_zeroed, invalidate>: Likewise.
(regcache) <raw_supply_integer, raw_supply_zeroed>: Removed.
<invalidate>: Likewise.
<m_readonly_p>: Removed.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions