Skip to content
Snippets Groups Projects
Commit 5e9a5c0f authored by ntfreak's avatar ntfreak
Browse files

- fix gdb packet retransmission omission

git-svn-id: svn://svn.berlios.de/openocd/trunk@253 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 2511b521
Branches
No related tags found
No related merge requests found
......@@ -248,7 +248,7 @@ int gdb_put_packet(connection_t *connection, char *buffer, int len)
int gdb_get_packet(connection_t *connection, char *buffer, int *len)
{
int character;
int count = 0;
int count;
int retval;
char checksum[3];
unsigned char my_checksum = 0;
......@@ -286,6 +286,7 @@ int gdb_get_packet(connection_t *connection, char *buffer, int *len)
} while (character != '$');
my_checksum = 0;
count = 0;
for (;;)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment