mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 11:56:11 +08:00
* target-memory.c (blocks_to_erase): Correct off-by-one error.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2007-06-07 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* target-memory.c (blocks_to_erase): Correct off-by-one error.
|
||||||
|
|
||||||
2007-06-06 Vladimir Prus <vladimir@codesourcery.com>
|
2007-06-06 Vladimir Prus <vladimir@codesourcery.com>
|
||||||
|
|
||||||
* remote.c (process_g_packet): Don't check size.
|
* remote.c (process_g_packet): Don't check size.
|
||||||
|
@ -166,7 +166,7 @@ blocks_to_erase (VEC(memory_write_request_s) *written)
|
|||||||
CORE_ADDR begin, end;
|
CORE_ADDR begin, end;
|
||||||
|
|
||||||
block_boundaries (ptr->begin, &begin, 0);
|
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)
|
if (!VEC_empty (memory_write_request_s, result)
|
||||||
&& VEC_last (memory_write_request_s, result)->end >= begin)
|
&& VEC_last (memory_write_request_s, result)->end >= begin)
|
||||||
|
Reference in New Issue
Block a user