Change inferior thread list to be a thread map
[deliverable/binutils-gdb.git] / gdb / remote.c
index 4df5c0aef8ea40bf2b84a4683e6d132243e154f8..e150a2ecd8a60c16c86d28149c178170fe29ef19 100644 (file)
@@ -4698,7 +4698,7 @@ remote_target::start_remote (int from_tty, int extended_p)
                                    "warning: couldn't determine remote "
                                    "current thread; picking first in list.\n");
 
-             inferior_ptid = inferior_list->thread_list->ptid;
+             inferior_ptid = inferior_list->thread_map.begin ()->second->ptid;
            }
        }
 
This page took 0.023457 seconds and 4 git commands to generate.