2007-10-24 Nathan Sidwell <nathan@codesourcery.com>

* target-memory.c (claim_memory): Propagate baton for split memory
	requests.
This commit is contained in:
Daniel Jacobowitz 2007-10-24 20:14:58 +00:00
parent fa99aa0984
commit 24bf05ac93
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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;
}
}
}