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
__archive__
oharboe 2009-05-14 19:00:35 +00:00
parent a74d911412
commit b3b0ff60c2
1 changed files with 0 additions and 6 deletions

View File

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