Commit 3d2305f2 authored by Andreas Fritiofson's avatar Andreas Fritiofson Committed by Peter Stuge
Browse files

rtos: return the correct value if the T or H packets are handled

Change-Id: Iea31e20ee4e35c1a9cb7b93424c92b3f38081067
Signed-off-by: default avatarAndreas Fritiofson <>

Tested-by: jenkins
Reviewed-by: default avatarEvan Hunter <>
Reviewed-by: default avatarPeter Stuge <>
parent 1c1771ef
......@@ -490,6 +490,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 )
......@@ -498,6 +499,7 @@ int gdb_thread_packet(struct connection *connection, char *packet, int packet_si
sscanf(packet, "Hg%16" SCNx64, &current_threadid);
gdb_put_packet(connection, "OK", 2);
return ERROR_OK;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment