diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2017-12-02 20:36:40 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2017-12-02 20:36:40 -0500 |
commit | 39a64da5fc9ce6decd7e5ba0bacfeb2144d2bd63 (patch) | |
tree | 76c206e278d433286c9260f25b93c228454b4aa5 /gdb/gdbserver/ChangeLog | |
parent | a1385b7b881d2b129f8c26fac8ad20bc406a1a6d (diff) | |
download | gdb-39a64da5fc9ce6decd7e5ba0bacfeb2144d2bd63.zip gdb-39a64da5fc9ce6decd7e5ba0bacfeb2144d2bd63.tar.gz gdb-39a64da5fc9ce6decd7e5ba0bacfeb2144d2bd63.tar.bz2 |
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.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 068c0fd..7c59c46 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,12 @@ 2017-12-02 Simon Marchi <simon.marchi@polymtl.ca> + * 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. + +2017-12-02 Simon Marchi <simon.marchi@polymtl.ca> + * linux-low.c (not_stopped_callback): Return bool, take filter argument directly. (linux_wait_for_event_filtered): Use find_thread. |