diff options
author | Yao Qi <yao@codesourcery.com> | 2013-10-31 15:01:33 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-11-20 11:40:48 +0800 |
commit | f2de978509eb51f85410eab04696725f0bccf9c3 (patch) | |
tree | 3569419944f610265fc507008edb6cfe35392b45 /gdb/target-dcache.c | |
parent | 2a2f9fe4007a0135ac091878dc7000f91e75e339 (diff) | |
download | gdb-f2de978509eb51f85410eab04696725f0bccf9c3.zip gdb-f2de978509eb51f85410eab04696725f0bccf9c3.tar.gz gdb-f2de978509eb51f85410eab04696725f0bccf9c3.tar.bz2 |
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.
Diffstat (limited to 'gdb/target-dcache.c')
0 files changed, 0 insertions, 0 deletions