mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 11:01:35 +08:00
2007-10-24 Nathan Sidwell <nathan@codesourcery.com>
* target-memory.c (claim_memory): Propagate baton for split memory requests.
This commit is contained in:
@ -84,10 +84,10 @@ claim_memory (VEC(memory_write_request_s) *blocks,
|
||||
{
|
||||
struct memory_write_request *n =
|
||||
VEC_safe_push (memory_write_request_s, *result, NULL);
|
||||
memset (n, 0, sizeof (struct memory_write_request));
|
||||
*n = *r;
|
||||
n->begin = claimed_begin;
|
||||
n->end = claimed_end;
|
||||
n->data = r->data + (claimed_begin - r->begin);
|
||||
n->data += claimed_begin - r->begin;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user