* win32-low.h (win32_thread_info): Add descriptions to the
authorPedro Alves <palves@redhat.com>
Mon, 3 Dec 2007 01:10:30 +0000 (01:10 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 3 Dec 2007 01:10:30 +0000 (01:10 +0000)
commitc436e841ffe6de640cb19bd7915d117309ed079e
treec315752cf01aa2a447c9b0969f0706c996a67626
parent0421e13edb5307146de9a31648f40218162145a6
* win32-low.h (win32_thread_info): Add descriptions to the
structure members.  Replace `suspend_count' counter by a
`suspended' flag.
* win32-low.c (thread_rec): Update condition of when to get the
context from the inferior.  Rely on ContextFlags being set if it
has already been retrieved.  Only suspend the inferior thread if
we haven't already.  Warn if that fails.
(continue_one_thread): s/suspend_count/suspended/.  Only call
ResumeThread once.  Warn if that fails.
gdb/gdbserver/ChangeLog
gdb/gdbserver/win32-low.c
gdb/gdbserver/win32-low.h