diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-22 14:19:46 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-22 14:19:46 +0000 |
commit | a96f96d1f0827c6b0eb5d67cb9a94a4084e36184 (patch) | |
tree | 5f5920cdac96aa39585ac627811f22a7e3b0d72a /src/server | |
parent | ae176daac83977b11b8296094a362b9254584fff (diff) | |
download | openocd+libswd-a96f96d1f0827c6b0eb5d67cb9a94a4084e36184.tar.gz openocd+libswd-a96f96d1f0827c6b0eb5d67cb9a94a4084e36184.tar.bz2 openocd+libswd-a96f96d1f0827c6b0eb5d67cb9a94a4084e36184.tar.xz openocd+libswd-a96f96d1f0827c6b0eb5d67cb9a94a4084e36184.zip |
- gdb server was incorrectly sending null terminator on qXfer:features:read: packet
- armv7m now sends correct gdb register packet
git-svn-id: svn://svn.berlios.de/openocd/trunk@522 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/gdb_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index a81b3345..b3c6c9f5 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -1616,7 +1616,7 @@ int gdb_query_packet(connection_t *connection, target_t *target, char *packet, i return retval; } - gdb_put_packet(connection, xml, strlen(xml) + 1); + gdb_put_packet(connection, xml, strlen(xml)); free(xml); return ERROR_OK; |