[gdbserver/wince] (7/11) Make the new interrupt method actually always work in WinCE
Sat Dec 1 19:01:00 GMT 2007
On Mon, Nov 12, 2007 at 02:08:03AM +0000, Pedro Alves wrote:
> So, what this patch does, is implement the same workaround MSFT's
> debugger uses. Don't set the context back to the inferior, unless
> it has been explicitly changed by gdb or gdbserver. Actually, it
> is a little bit better, as it won't crash if the user sets some
> register's contents back to what it was when the inferior stopped.
This is all really nasty. Does this mean the register values we
report to GDB may actually change before the process stops?
> 2007-11-12 Pedro Alves <firstname.lastname@example.org>
> * win32-low.c (win32_get_thread_context)
> (win32_set_thread_context): New.
> (thread_rec): Use win32_get_thread_context.
> (continue_one_thread, win32_resume): Use win32_set_thread_context.
> * win32-low.h (win32_thread_info) [_WIN32_WCE]: Add `base_context'
OK, I suppose.
More information about the Gdb-patches