summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/win32-low.h
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2007-12-03 01:27:19 +0000
committerPedro Alves <pedro@codesourcery.com>2007-12-03 01:27:19 +0000
commit57b69efceee83ff2f276710e1af24fa6b916f8b3 (patch)
tree0916097c8bf7b9af7fb3963ec692f8d7818d91af /gdb/gdbserver/win32-low.h
parentb2263a3ed928f2e935977360bd221133b8a19c2c (diff)
downloadgdb-57b69efceee83ff2f276710e1af24fa6b916f8b3.tar.gz
* win32-low.c (win32_get_thread_context)
(win32_set_thread_context): New functions. (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' field.
Diffstat (limited to 'gdb/gdbserver/win32-low.h')
-rw-r--r--gdb/gdbserver/win32-low.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/win32-low.h b/gdb/gdbserver/win32-low.h
index c2bf06a3632..aad09dd49bc 100644
--- a/gdb/gdbserver/win32-low.h
+++ b/gdb/gdbserver/win32-low.h
@@ -31,7 +31,12 @@ typedef struct win32_thread_info
/* Non zero if SuspendThread was called on this thread. */
int suspended;
- /* The context of the thread. */
+#ifdef _WIN32_WCE
+ /* The context as retrieved right after suspending the thread. */
+ CONTEXT base_context;
+#endif
+
+ /* The context of the thread, including any manipulations. */
CONTEXT context;
} win32_thread_info;