This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 00/11] Remove some usages of find_inferior
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Fri, 17 Nov 2017 13:33:22 -0500
- Subject: [PATCH 00/11] Remove some usages of find_inferior
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=simon dot marchi at ericsson dot com;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
This is a random sampling of removals of find_inferior, replacing them with the
new-ish find_thread/for_each_thread.
Simon Marchi (11):
Remove usage of find_inferior in win32-i386-low.c
Remove usage of find_inferior in win32-low.c
Remove usages of find_inferior in linux-arm-low.c
Remove usage of find_inferior in reset_lwp_ptrace_options_callback
Remove usage of find_inferior in iterate_over_lwps
Remove usage of find_inferior in unsuspend_all_lwps
Remove usage of find_inferior in linux_stabilize_threads
Remove usage of find_inferior when calling linux_set_resume_request
Remove usage of find_thread when calling resume_status_pending_p
Remove usages of find_thread when calling need_step_over_p
Remove usage of find_inferior when calling kill_one_lwp_callback
gdb/gdbserver/gdbthread.h | 12 ++
gdb/gdbserver/linux-arm-low.c | 55 +++++----
gdb/gdbserver/linux-low.c | 248 ++++++++++++++---------------------------
gdb/gdbserver/win32-i386-low.c | 29 ++---
gdb/gdbserver/win32-low.c | 12 +-
5 files changed, 137 insertions(+), 219 deletions(-)
--
2.7.4