Remove usage of find_inferior in linux_stabilize_threads
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 3 Dec 2017 01:36:41 +0000 (20:36 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 3 Dec 2017 01:36:41 +0000 (20:36 -0500)
commit5a6b0a41dfc9b860f285ddb3a1e518299f614cd3
tree0f3c57dc5e8edbf4ed96390c846bd53b335303ec
parent39a64da5fc9ce6decd7e5ba0bacfeb2144d2bd63
Remove usage of find_inferior in linux_stabilize_threads

Replace with find_thread.

gdb/gdbserver/ChangeLog:

* linux-low.c (lwp_running): Return bool, remove unused
argument.
(linux_stabilize_threads): Use find_thread.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c