Commit b3b0ff60 authored by oharboe's avatar oharboe
Browse files

take #2: dump_image now works for addresses not divisible by 4

git-svn-id: svn://svn.berlios.de/openocd/trunk@1786 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent a74d9114
......@@ -2115,12 +2115,6 @@ static int handle_dump_image_command(struct command_context_s *cmd_ctx, char *cm
address = strtoul(args[1], NULL, 0);
size = strtoul(args[2], NULL, 0);
if ((address & 3) || (size & 3))
{
command_print(cmd_ctx, "only 32-bit aligned address and size are supported");
return ERROR_OK;
}
if (fileio_open(&fileio, args[0], FILEIO_WRITE, FILEIO_BINARY) != ERROR_OK)
{
return ERROR_OK;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment