Remove usage of find_inferior in resume
authorSimon Marchi <simon.marchi@ericsson.com>
Sat, 28 Oct 2017 03:43:11 +0000 (23:43 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Sat, 28 Oct 2017 03:43:11 +0000 (23:43 -0400)
commiteaddb425928bb4ae21c0c6644b4bedf3d16cb6fa
treed3850c5da2fa7f2c86ed5bfca971fbf5859c0d5e
parent99078d344db25efc376877e0e4c95157f0c36c60
Remove usage of find_inferior in resume

Change find_inferior with find_thread.  Since we can now pass arguments
directly instead of through a void pointer, we don't need the
visit_actioned_threads_data structure anymore.

gdb/gdbserver/ChangeLog:

* server.c (struct visit_actioned_threads_data): Remove.
(visit_actioned_threads): Change prototype to take arguments
directly.
(resume): Use find_thread instead of find_inferior.
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c