Re: [RFA/gdbserver] Fix watchpoint support on Windows

Eli Zaretskii
2011-10-21T17:23:46Z

> From: Joel Brobecker <brobecker@adacore.com>
> Cc: Joel Brobecker <brobecker@adacore.com>
> Date: Fri, 21 Oct 2011 10:12:56 -0700
>
> gdb/gdbserver/ChangeLog:
>
> * win32-i386-low.c (dr_status_mirror, dr_control_mirror): Delete.
> (i386_dr_low_get_control, i386_dr_low_get_status): Use
> dr_status_mirror and dr_control_mirror from debug_reg_state.
> (i386_dr_low_get_status): Use debug_reg_state.dr_status_mirror
> (i386_initial_stuff): Remove use of deleted globals.
> (i386_get_thread_context, i386_set_thread_context,
> i386_thread_added): Use dr_status_mirror and dr_control_mirror
> from debug_reg_state.
>
> OK to commit?

Sounds obvious to me.