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

Tom Tromey
2025-05-28T19:34:02Z

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

Pedro> With non-stop mode support, each thread has its own "last event", and
Pedro> so printing $_siginfo should print the siginfo of the selected thread.
Pedro> Likewise, with all-stop and scheduler-locking.

Pedro> This patch reworks the siginfo functions in gdb/windows-nat.c and
Pedro> gdbserver/win32-low.cc to reuse the exception record already saved
Pedro> within each thread's 'last_event' field.

This looks good. Thank you.
Approved-By: Tom Tromey <tom@tromey.com>

Tom