Remove usages of find_inferior in select_event_lwp
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 3 Dec 2017 01:36:40 +0000 (20:36 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 3 Dec 2017 01:36:40 +0000 (20:36 -0500)
commit39a64da5fc9ce6decd7e5ba0bacfeb2144d2bd63
tree76c206e278d433286c9260f25b93c228454b4aa5
parenta1385b7b881d2b129f8c26fac8ad20bc406a1a6d
Remove usages of find_inferior in select_event_lwp

Replace with find_thread/for_each_thread.  I inlined the callbacks,
because they are relatively simple.

gdb/gdbserver/ChangeLog:

* linux-low.c (select_singlestep_lwp_callback): Remove.
(count_events_callback): Remove.
(select_event_lwp_callback): Remove.
(select_event_lwp): Use find_thread/for_each_thread.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
This page took 0.024074 seconds and 4 git commands to generate.