Re: [PATCH v2 46/47] Windows gdb: Always non-stop (default to "maint set target-non-stop on")

Tom Tromey
2025-05-29T16:03:38Z

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

Pedro> Since having the target backend work in non-stop mode adds features
Pedro> compared to old all-stop mode (signal/exception passing/suppression is
Pedro> truly per-thread), this switches the backend to do
Pedro> all-stop-on-top-of-non-stop, by having
Pedro> windows_nat_target::always_non_stop_p return true if non-stop mode is
Pedro> possible.

Pedro> To be clear, this just changes how the backend works in coordination
Pedro> with infrun. The user-visible mode default mode is still all-stop.

Pedro> The difference is that infrun is responsible for stopping all threads
Pedro> when needed, instead of the backend (actually the kernel) always doing
Pedro> that before reporting an event to infrun.

Thanks, this looks good.
Approved-By: Tom Tromey <tom@tromey.com>

Tom