Re: [PATCH 11/16] move some statics from remote_read_qxfer into struct remote_state

Pedro Alves
2013-06-24T17:25:01Z

On 06/21/2013 06:25 PM, Tom Tromey wrote:
> This moves a few static variables out of remote_read_qxfer and into
> remote_state. It is unclear to me if this data can ever be required
> to be kept around across a potential target switch, but it is
> definitely safe to move it into the remote state object.

It's a cache, so we can always discard and refetch the data
it if switching targets discarded it. But this is definitely
per-target/connection data, so putting in remote_state is a better choice.

Thanks,
--
Pedro Alves