diff options
Diffstat (limited to 'gdb/gdbserver/server.c')
-rw-r--r-- | gdb/gdbserver/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 24b1630..423427c 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -1156,7 +1156,7 @@ handle_query (char *own_buf, int packet_len, int *new_packet_len_p) err = 1; else { - struct thread_info *thread = find_thread_pid (ptid); + struct thread_info *thread = find_thread_ptid (ptid); if (thread == NULL) err = 2; |