Remove usage of find_inferior when calling linux_set_resume_request
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 20 Nov 2017 03:23:26 +0000 (22:23 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 20 Nov 2017 03:23:26 +0000 (22:23 -0500)
commit5fdda39248cc4a3311efbff3cf2350123d638232
treef09ac07daa0dbf7d94a3e9011ea0631ad811ff30
parentfcb056a58dd38cfe7bcd34b7889138bf807c40b8
Remove usage of find_inferior when calling linux_set_resume_request

Replace it with for_each_thread.

gdb/gdbserver/ChangeLog:

* linux-low.c (struct thread_resume_array): Remove.
(linux_set_resume_request): Return void, take arguments
directly.
(linux_resume): Use for_each_thread.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c