X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fremote.c;fp=gdb%2Fremote.c;h=f6fa1661326a88e885df503e4ee943b34f2d67ae;hb=708e4b9f189a86d542519b35e36e3f087b36b524;hp=3c544502a85a5db4c6ea52fc2aa56f6c8fa8477e;hpb=fe33e22e7b2ef36f564df92c7259728eaf2e5028;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/remote.c b/gdb/remote.c index 3c544502a8..f6fa166132 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -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; } }