/* Parts of target interface that deal with accessing memory and memory-like
objects.
- Copyright (C) 2006
- Free Software Foundation, Inc.
+ Copyright (C) 2006, 2007 Free Software Foundation, Inc.
This file is part of GDB.
CORE_ADDR begin, end;
block_boundaries (ptr->begin, &begin, 0);
- block_boundaries (ptr->end, 0, &end);
+ block_boundaries (ptr->end - 1, 0, &end);
if (!VEC_empty (memory_write_request_s, result)
&& VEC_last (memory_write_request_s, result)->end >= begin)