aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rtos/rtos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c
index 74e8724e..8591007c 100644
--- a/src/rtos/rtos.c
+++ b/src/rtos/rtos.c
@@ -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;
}
return GDB_THREAD_PACKET_NOT_CONSUMED;