mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
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:
@@ -395,6 +395,10 @@ int gdb_put_packet(connection_t *connection, char *buffer, int len)
|
|||||||
gdb_con->busy = 1;
|
gdb_con->busy = 1;
|
||||||
int retval = gdb_put_packet_inner(connection, buffer, len);
|
int retval = gdb_put_packet_inner(connection, buffer, len);
|
||||||
gdb_con->busy = 0;
|
gdb_con->busy = 0;
|
||||||
|
|
||||||
|
/* we sent some data, reset timer for keep alive messages */
|
||||||
|
kept_alive();
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user