Change inferior thread list to be a thread map
[deliverable/binutils-gdb.git] / gdb / remote.c
index 3c544502a85a5db4c6ea52fc2aa56f6c8fa8477e..f6fa1661326a88e885df503e4ee943b34f2d67ae 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.026722 seconds and 4 git commands to generate.