Commit fcdad592 authored by Yao Qi's avatar Yao Qi
Browse files

Use unsuspend_all_lwps

This patch is to replace find_inferior (&all_threads, unsuspend_one_lwp, NULL)
with unsuspend_all_lwps (NULL), which is shorter.  They are equivalent
to each other.

gdb/gdbserver:

2016-05-17  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (linux_stabilize_threads): Call unsuspend_all_lwps
	instead of find_inferior.
parent acac2e45
2016-05-17 Yao Qi <yao.qi@linaro.org>
* linux-low.c (linux_stabilize_threads): Call unsuspend_all_lwps
instead of find_inferior.
2016-05-05 Yao Qi <yao.qi@linaro.org>
 
* linux-arm-low.c (get_next_pcs_read_memory_unsigned_integer):
......
......@@ -2966,7 +2966,7 @@ linux_stabilize_threads (void)
}
}
find_inferior (&all_threads, unsuspend_one_lwp, NULL);
unsuspend_all_lwps (NULL);
stabilizing_threads = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment