gdbserver: Reorganize linux_process_target::filter_event
authorPedro Alves <pedro@palves.net>
Tue, 22 Feb 2022 10:15:07 +0000 (10:15 +0000)
committerPedro Alves <pedro@palves.net>
Thu, 10 Mar 2022 11:35:53 +0000 (11:35 +0000)
commit5406bc3f1b3a8b9a653b80bae25253b1841adb46
tree7cb3872c4d5c33451293a10dffde4f2c903456af
parent1abeb1e90d708c1d94867957f90607eaa63dfad7
gdbserver: Reorganize linux_process_target::filter_event

Reorganize linux-low.cc:linux_process_target::filter_event such that
all the handling for events for LWPs not in the LWP list is together.
This helps make a following patch clearer.  The comments and debug
messages have also been tweaked to have them synchronized with the GDB
counterpart.

Change-Id: If9019635f63a846607cfda44b454b4254a404019
gdbserver/linux-low.cc