summaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index d896f8e2b59..71e92167bdf 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -1446,6 +1446,7 @@ sol_find_new_threads ()
printf_filtered ("No process.\n");
return;
}
+ procfs_find_new_threads (); /* first find new kernel threads. */
p_td_ta_thr_iter (main_ta, sol_find_new_threads_callback, (void *) 0,
TD_THR_ANY_STATE, TD_THR_LOWEST_PRIORITY,
TD_SIGNO_MASK, TD_THR_ANY_USER_FLAGS);