Use unsuspend_all_lwps
authorYao Qi <yao.qi@linaro.org>
Tue, 17 May 2016 07:24:26 +0000 (08:24 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 17 May 2016 07:24:26 +0000 (08:24 +0100)
commitfcdad592cd1f76046c5e4b7a2b0337e146d1e796
tree36487ac318a36fc802d3b8afc2568846fe9003d9
parentacac2e457a32e84814c212183ab2824869a27b5b
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.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c