diff options
Diffstat (limited to 'gdb/gdbserver/inferiors.c')
-rw-r--r-- | gdb/gdbserver/inferiors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/inferiors.c b/gdb/gdbserver/inferiors.c index 8111e28..7f15704 100644 --- a/gdb/gdbserver/inferiors.c +++ b/gdb/gdbserver/inferiors.c @@ -210,7 +210,7 @@ thread_to_gdb_id (struct thread_info *thread) } struct thread_info * -find_thread_pid (ptid_t ptid) +find_thread_ptid (ptid_t ptid) { struct inferior_list_entry *inf = all_threads.head; @@ -228,7 +228,7 @@ find_thread_pid (ptid_t ptid) ptid_t gdb_id_to_thread_id (ptid_t gdb_id) { - struct thread_info *thread = find_thread_pid (gdb_id); + struct thread_info *thread = find_thread_ptid (gdb_id); return thread ? thread->entry.id : null_ptid; } |