This is an automated email from Gerrit. Andreas Fritiofson (andreas.fritiof...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/38
-- gerrit commit 4d01a6eafd90b6b0af2ad205c55d87ef66df15ce Author: Andreas Fritiofson <andreas.fritiof...@gmail.com> Date: Thu Oct 20 00:25:08 2011 +0200 rtos: return the correct value if the T or H packets are handled Change-Id: Iea31e20ee4e35c1a9cb7b93424c92b3f38081067 Signed-off-by: Andreas Fritiofson <andreas.fritiof...@gmail.com> diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c index 73e2d29..8a59fd3 100644 --- a/src/rtos/rtos.c +++ b/src/rtos/rtos.c @@ -406,6 +406,7 @@ int gdb_thread_packet(struct connection *connection, char *packet, int packet_si } else { gdb_put_packet(connection, "E01", 3); // thread not found } + return ERROR_OK; } else if ( packet[0] == 'H') // Set current thread ( 'c' for step and continue, 'g' for all other operations ) { @@ -414,6 +415,7 @@ int gdb_thread_packet(struct connection *connection, char *packet, int packet_si sscanf(packet, "Hg%16" SCNx64, ¤t_threadid); } gdb_put_packet(connection, "OK", 2); + return ERROR_OK; } return GDB_THREAD_PACKET_NOT_CONSUMED; -- _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development