const-fy regcache::m_readonly_p
gdb: 2017-11-02 Yao Qi <yao.qi@linaro.org> * regcache.h (regcache) <m_readonly_p>: Change it to const bool.
This commit is contained in:
parent
8b86c95921
commit
6c6e9412e9
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2017-11-02 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
|
* regcache.h (regcache) <m_readonly_p>: Change it to const bool.
|
||||||
|
|
||||||
2017-11-02 Yao Qi <yao.qi@linaro.org>
|
2017-11-02 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* breakpoint.c (insert_single_step_breakpoints): Update.
|
* breakpoint.c (insert_single_step_breakpoints): Update.
|
||||||
|
|
|
@ -378,7 +378,7 @@ private:
|
||||||
cache can only be updated via the methods regcache_dup() and
|
cache can only be updated via the methods regcache_dup() and
|
||||||
regcache_cpy(). The actual contents are determined by the
|
regcache_cpy(). The actual contents are determined by the
|
||||||
reggroup_save and reggroup_restore methods. */
|
reggroup_save and reggroup_restore methods. */
|
||||||
bool m_readonly_p;
|
const bool m_readonly_p;
|
||||||
/* If this is a read-write cache, which thread's registers is
|
/* If this is a read-write cache, which thread's registers is
|
||||||
it connected to? */
|
it connected to? */
|
||||||
ptid_t m_ptid;
|
ptid_t m_ptid;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue