Re: [PATCH 10/15] Class regcache_readonly

Simon Marchi
2018-01-24T03:05:22Z

On 2017-12-01 05:48 AM, Yao Qi wrote:
> This patch adds a new class (type) for readonly regcache, which is
> created via regcache::save. regcache_readonly inherts from
> regcache_read.

Hi Yao,

Just a note about the naming. IIUC, the important thing about this
kind of regcache is that it's detached from any target. Did you
think about naming it detached_regcache or something like that ?

Simon