mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 04:53:56 +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:
parent
fa99aa0984
commit
24bf05ac93
@ -1,3 +1,8 @@
|
||||
2007-10-24 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* target-memory.c (claim_memory): Propagate baton for split memory
|
||||
requests.
|
||||
|
||||
2007-10-24 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||
|
||||
PR gdb/2341
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user