summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ChangeLog
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-12-02 20:36:39 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2017-12-02 20:36:39 -0500
commita1385b7b881d2b129f8c26fac8ad20bc406a1a6d (patch)
tree7948ca98677b25633ace6a28b658916b28237ad5 /gdb/gdbserver/ChangeLog
parent454296a2c1f3afe163e49730b9b396ffdd985e1f (diff)
downloadbinutils-gdb-a1385b7b881d2b129f8c26fac8ad20bc406a1a6d.tar.gz
Remove usages of find_inferior calling not_stopped_callback
Replace with find_thread. Writing a lambda inline in directly in the if conditions would be a bit messy, so I chose to assign them to variables instead. gdb/gdbserver/ChangeLog: * linux-low.c (not_stopped_callback): Return bool, take filter argument directly. (linux_wait_for_event_filtered): Use find_thread. (linux_wait_1): Likewise.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r--gdb/gdbserver/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 81694105603..068c0fd433d 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 (not_stopped_callback): Return bool, take filter
+ argument directly.
+ (linux_wait_for_event_filtered): Use find_thread.
+ (linux_wait_1): Likewise.
+
+2017-12-02 Simon Marchi <simon.marchi@polymtl.ca>
+
* linux-low.c (same_lwp): Remove.
(find_lwp_pid): Use find_thread.