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:
parent
fb4e65d035
commit
ba4030c7ad
@ -294,8 +294,8 @@ get_current_thread ()
|
||||
if (!in_thread_list (ptid))
|
||||
{
|
||||
add_thread (ptid);
|
||||
inferior_ptid = ptid;
|
||||
}
|
||||
inferior_ptid = ptid;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user