Commit 6d9f61fb authored by Alan Bowman's avatar Alan Bowman Committed by Øyvind Harboe
Browse files

Corrected test for invalid current_threadid

parent 129f099e
......@@ -493,7 +493,7 @@ int gdb_thread_packet(struct connection *connection, struct target *target, char
int rtos_get_gdb_reg_list(struct connection *connection, struct target *target, struct reg **reg_list[], int *reg_list_size)
{
if ( ( target->rtos != NULL ) &&
( current_threadid != 1 ) &&
( current_threadid != -1 ) &&
( current_threadid != 0 ) &&
( current_threadid != target->rtos->current_thread ) )
{
......
Markdown is supported
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