Always set current thread when activating thread debugger,

the current thread may already be added by fbsd_find_new_threads,
this can result that current thread is not set correctly.
This commit is contained in:
David Xu 2004-11-15 13:06:01 +00:00
parent fb4e65d035
commit ba4030c7ad

View File

@ -294,8 +294,8 @@ get_current_thread ()
if (!in_thread_list (ptid))
{
add_thread (ptid);
inferior_ptid = ptid;
}
inferior_ptid = ptid;
}
static void