* target.c (memory_xfer_partial): Pass correct length to dcache_update.
This commit is contained in:
parent
8285870aeb
commit
7d4f32d36a
@ -1,3 +1,7 @@
|
||||
2009-09-15 Doug Evans <dje@google.com>
|
||||
|
||||
* target.c (memory_xfer_partial): Pass correct length to dcache_update.
|
||||
|
||||
2009-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Fix gcc-4.5 HEAD warnings for enum ada_operator.
|
||||
|
@ -1333,7 +1333,7 @@ memory_xfer_partial (struct target_ops *ops, enum target_object object,
|
||||
&& stack_cache_enabled_p
|
||||
&& object != TARGET_OBJECT_STACK_MEMORY)
|
||||
{
|
||||
dcache_update (target_dcache, memaddr, (void *) writebuf, reg_len);
|
||||
dcache_update (target_dcache, memaddr, (void *) writebuf, res);
|
||||
}
|
||||
|
||||
/* If we still haven't got anything, return the last error. We
|
||||
|
Loading…
Reference in New Issue
Block a user