Re: [PATCH v2 07/47] Windows gdb: Eliminate global current_process.dr[8] global

Tom Tromey
2025-05-28T19:10:42Z

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

Pedro> current_process.dr needs to be per-thread for non-stop. Actually, it
Pedro> doesn't even need to exist at all. We have x86_debug_reg_state
Pedro> recording intent, and then the
Pedro> cygwin_get_dr/cygwin_get_dr6/cygwin_get_dr7 functions are registered
Pedro> as x86_dr_low_type vector functions, so they should return the current
Pedro> value in the inferior's registers.

This looks reasonable to me.
Approved-By: Tom Tromey <tom@tromey.com>

Tom