Remove usage of find_inferior in linux_stabilize_threads
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 20 Nov 2017 03:23:25 +0000 (22:23 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 20 Nov 2017 03:23:25 +0000 (22:23 -0500)
commitfcb056a58dd38cfe7bcd34b7889138bf807c40b8
treece9e4af1175b5ab784b7ca6ec7785a9e67af5dc8
parent139720c5b32963ce52c5f691e179920ff84a2237
Remove usage of find_inferior in linux_stabilize_threads

Simply replace with find_thread.

gdb/gdbserver/ChangeLog:

* linux-low.c (stuck_in_jump_pad_callback): Change prototype,
return bool, remove data argument.
(linux_stabilize_threads): Use find_thread.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c