Re: [PATCH 02/10] Don't update target_dcache if it is not initialized

Doug Evans
2013-11-17T19:52:28Z

On Sat, Nov 2, 2013 at 10:54 PM, Yao Qi <yao@codesourcery.com> wrote:
> After previous patch, 'target_dcache' is initialized lazily. It is
> possible that 'target_dcache' is still NULL when GDB writes to memory.
> In this case, update to 'target_dcache' can be skipped.
>
> gdb:
>
> 2013-11-02 Yao Qi <yao@codesourcery.com>
>
> * target.c (memory_xfer_partial_1): Update 'target_dcache' if
> it is initialized.

Ok.