public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 00/19] Remove find_inferior* and for_each_inferior*
@ 2017-11-20 16:35 Simon Marchi
  2017-11-20 16:35 ` [PATCH 03/19] Remove usages of find_inferior in linux-mips-low.c Simon Marchi
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: Simon Marchi @ 2017-11-20 16:35 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

This patch series removes the last usages the the find_inferior and
for_each_inferior family of functions in gdbserver, replacing their uses with
the equivalent find_thread or for_each_thread.  The series as a whole has been
regression tested on the Buildbot.

Simon Marchi (19):
  Remove usage of find_inferior in regcache_invalidate_pid
  Remove usage of find_inferior in lynx_mourn
  Remove usages of find_inferior in linux-mips-low.c
  Remove find_inferior_id
  Remove find_inferior_in_random
  Remove usage of find_inferior in last_thread_of_process_p
  Remove usage of find_inferior in linux_detach
  Remove usage of find_inferior in linux_mourn
  Remove usage of find_inferior in find_lwp_pid
  Remove usages of find_inferior calling not_stopped_callback
  Remove usages of find_inferior in select_event_lwp
  Remove usage of find_inferior in linux_stabilize_threads
  Remove usages of find_inferior in stop_all_lwps
  Remove usage of find_inferior in linux_resume
  Remove usages of find_inferior that call proceed_one_lwp
  Update comments
  Remove find_inferior
  Remove for_each_inferior
  Remove for_each_inferior_with_data

 gdb/gdbserver/inferiors.c      |  63 +------
 gdb/gdbserver/inferiors.h      |  13 --
 gdb/gdbserver/linux-low.c      | 377 ++++++++++++++++++-----------------------
 gdb/gdbserver/linux-mips-low.c |  37 ++--
 gdb/gdbserver/lynx-low.c       |  16 +-
 gdb/gdbserver/regcache.c       |  17 +-
 gdb/gdbserver/server.c         |  38 ++---
 gdb/gdbserver/thread-db.c      |   8 +-
 gdb/gdbserver/win32-low.c      |  29 +---
 9 files changed, 212 insertions(+), 386 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2017-12-03  1:48 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-20 16:35 [PATCH 00/19] Remove find_inferior* and for_each_inferior* Simon Marchi
2017-11-20 16:35 ` [PATCH 03/19] Remove usages of find_inferior in linux-mips-low.c Simon Marchi
2017-11-20 16:35 ` [PATCH 08/19] Remove usage of find_inferior in linux_mourn Simon Marchi
2017-11-20 16:35 ` [PATCH 07/19] Remove usage of find_inferior in linux_detach Simon Marchi
2017-11-20 16:35 ` [PATCH 15/19] Remove usages of find_inferior that call proceed_one_lwp Simon Marchi
2017-11-20 16:35 ` [PATCH 06/19] Remove usage of find_inferior in last_thread_of_process_p Simon Marchi
2017-11-20 16:35 ` [PATCH 18/19] Remove for_each_inferior Simon Marchi
2017-11-20 16:35 ` [PATCH 02/19] Remove usage of find_inferior in lynx_mourn Simon Marchi
2017-11-20 16:35 ` [PATCH 12/19] Remove usage of find_inferior in linux_stabilize_threads Simon Marchi
2017-11-20 16:35 ` [PATCH 19/19] Remove for_each_inferior_with_data Simon Marchi
2017-11-20 16:35 ` [PATCH 04/19] Remove find_inferior_id Simon Marchi
2017-11-20 16:35 ` [PATCH 10/19] Remove usages of find_inferior calling not_stopped_callback Simon Marchi
2017-11-20 16:35 ` [PATCH 16/19] Update comments Simon Marchi
2017-11-20 16:35 ` [PATCH 13/19] Remove usages of find_inferior in stop_all_lwps Simon Marchi
2017-11-20 16:35 ` [PATCH 05/19] Remove find_inferior_in_random Simon Marchi
2017-11-20 16:35 ` [PATCH 01/19] Remove usage of find_inferior in regcache_invalidate_pid Simon Marchi
2017-11-20 16:35 ` [PATCH 14/19] Remove usage of find_inferior in linux_resume Simon Marchi
2017-11-20 16:35 ` [PATCH 09/19] Remove usage of find_inferior in find_lwp_pid Simon Marchi
2017-11-20 16:35 ` [PATCH 11/19] Remove usages of find_inferior in select_event_lwp Simon Marchi
2017-11-20 16:35 ` [PATCH 17/19] Remove find_inferior Simon Marchi
2017-12-03  1:48 ` [PATCH 00/19] Remove find_inferior* and for_each_inferior* Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).