summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-12-20 16:19:10 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-12-20 16:19:10 +0000
commit55f2fe830a541a297d6bf3906c6a28df81acbf05 (patch)
treec95e8986ea95270728b2d193fada78a8a6abc30f /src/server
parent79f25814fe1b84e47d10d0063850062b1e65a9ed (diff)
downloadopenocd+libswd-55f2fe830a541a297d6bf3906c6a28df81acbf05.tar.gz
openocd+libswd-55f2fe830a541a297d6bf3906c6a28df81acbf05.tar.bz2
openocd+libswd-55f2fe830a541a297d6bf3906c6a28df81acbf05.tar.xz
openocd+libswd-55f2fe830a541a297d6bf3906c6a28df81acbf05.zip
- removed flash write_image - binary compare function has been moved to verify_image command
- minor code reformat and cleanup - updated docs to include new commands git-svn-id: svn://svn.berlios.de/openocd/trunk@243 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r--src/server/gdb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index cd7e327f..ba5d2188 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -1330,7 +1330,7 @@ int gdb_v_packet(connection_t *connection, target_t *target, char *packet, int p
char *error_str;
/* process the flashing buffer */
- if ((result = flash_image_operation(gdb_service->target, gdb_connection->vflash_image, &written, &error_str, NULL, flash_image_op_write)) != ERROR_OK)
+ if ((result = flash_write(gdb_service->target, gdb_connection->vflash_image, &written, &error_str, NULL, 0)) != ERROR_OK)
{
if (result == ERROR_FLASH_DST_OUT_OF_BANK)
gdb_put_packet(connection, "E.memtype", 9);