Remove usages of find_inferior that call proceed_one_lwp
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 3 Dec 2017 01:36:43 +0000 (20:36 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 3 Dec 2017 01:36:43 +0000 (20:36 -0500)
commite2b4407579df508f85de961dd693c9028e79d823
tree676940b9c172581928b466702cad93bef9e8beae
parentc80825ff32ba805982ef5e66e4fa1a80e019d47d
Remove usages of find_inferior that call proceed_one_lwp

Replace with for_each_thread.

gdb/gdbserver/ChangeLog:

* linux-low.c (proceed_one_lwp): Return void, change parameter
type.
(unsuspend_and_proceed_one_lwp): Likewise.
(proceed_all_lwps): Use for_each_thread.
(unstop_all_lwps): Likewise.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c