Don't update target_dcache if it is not initialized
authorYao Qi <yao@codesourcery.com>
Thu, 31 Oct 2013 07:01:33 +0000 (15:01 +0800)
committerYao Qi <yao@codesourcery.com>
Wed, 20 Nov 2013 03:40:48 +0000 (11:40 +0800)
commitf2de978509eb51f85410eab04696725f0bccf9c3
tree3569419944f610265fc507008edb6cfe35392b45
parent2a2f9fe4007a0135ac091878dc7000f91e75e339
Don't update target_dcache if it is not initialized

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-20  Yao Qi  <yao@codesourcery.com>

* target.c (memory_xfer_partial_1): Update 'target_dcache' if
it is initialized.
gdb/ChangeLog
gdb/target.c
This page took 0.024529 seconds and 4 git commands to generate.