Re: [PATCH v2 27/47] Windows gdb+gdbserver: Make last_sig per-thread state

Tom Tromey
2025-05-28T19:31:48Z

>>>>> "Pedro" == Pedro Alves <pedro@palves.net> writes:

Pedro> With non-stop mode, each thread is controlled independently of the
Pedro> others, and each thread has its own independent reason for its last
Pedro> stop.

Pedro> Thus, any thread-specific state that is currently per-process must be
Pedro> converted to per-thread state.

Pedro> This patch converts windows_process_info::last_sig to per-thread
Pedro> state, moving it to windows_thread_info instead.

Pedro> This adjusts both native gdb and gdbserver.

Looks good.
Approved-By: Tom Tromey <tom@tromey.com>

Tom