summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-14 19:00:35 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-14 19:00:35 +0000
commitb3b0ff60c26baf1a82a00f288ae59e3baf503172 (patch)
treef78d51d674cb628bf96cacbdf04ec101215e0273 /src
parenta74d91141269b5567c9a2832877dcbefccfa1e1e (diff)
downloadopenocd+libswd-b3b0ff60c26baf1a82a00f288ae59e3baf503172.tar.gz
openocd+libswd-b3b0ff60c26baf1a82a00f288ae59e3baf503172.tar.bz2
openocd+libswd-b3b0ff60c26baf1a82a00f288ae59e3baf503172.tar.xz
openocd+libswd-b3b0ff60c26baf1a82a00f288ae59e3baf503172.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/target/target.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/target/target.c b/src/target/target.c
index c1031a02..e3590846 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -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;