fixed false positives for keep_alive() not being invoked.
git-svn-id: svn://svn.berlios.de/openocd/trunk@993 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
a8c2507dbf
commit
7442b26d45
|
@ -395,6 +395,10 @@ int gdb_put_packet(connection_t *connection, char *buffer, int len)
|
|||
gdb_con->busy = 1;
|
||||
int retval = gdb_put_packet_inner(connection, buffer, len);
|
||||
gdb_con->busy = 0;
|
||||
|
||||
/* we sent some data, reset timer for keep alive messages */
|
||||
kept_alive();
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue