Re: [PATCH 4/4] gdb: change regcache list to be a map

Simon Marchi
2020-07-30T18:17:41Z

Just a note, I think your implementation of get_thread_arch_aspace_regcache could
be simplified by using the top map's operator[]. When we look up a regcache, we'll
want to create it if it doesn't exist, which means that if the ptid_regcache_map
doesn't exist for a given target, we'll want to create it.

I'll do that change, but I wanted to tell you in case you see a problem with it.

Simon