gdb: Reorganize linux_nat_filter_event
authorPedro Alves <pedro@palves.net>
Mon, 21 Feb 2022 20:07:20 +0000 (20:07 +0000)
committerPedro Alves <pedro@palves.net>
Thu, 10 Mar 2022 11:35:53 +0000 (11:35 +0000)
commit1abeb1e90d708c1d94867957f90607eaa63dfad7
tree15c4df4e6b81aa30162c5687719e2dd3f1c123a3
parentb7b1008c0b1af5379656bd8e3063d01daf2bd764
gdb: Reorganize linux_nat_filter_event

Reorganize linux-nat.c:linux_nat_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 - the end goal is to have them synchronized
with the gdbserver counterpart.

Change-Id: I8586d8dcd76d8bd3795145e3056fc660e3b2cd22
gdb/linux-nat.c