diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-11-02 15:15:42 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-11-02 15:15:42 +0000 |
commit | 6c6e9412e930c96f48b8ee78a389437328f5283c (patch) | |
tree | 557b4eca4b3f917a7ba016ffa212a454503df1aa /gdb/regcache.h | |
parent | 8b86c9592117b3ba52921af11868dc0b81ce4858 (diff) | |
download | gdb-6c6e9412e930c96f48b8ee78a389437328f5283c.zip gdb-6c6e9412e930c96f48b8ee78a389437328f5283c.tar.gz gdb-6c6e9412e930c96f48b8ee78a389437328f5283c.tar.bz2 |
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.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 7eb56a7..05d96b3 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -378,7 +378,7 @@ private: cache can only be updated via the methods regcache_dup() and regcache_cpy(). The actual contents are determined by the 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 it connected to? */ ptid_t m_ptid; |