aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/win32-low.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2007-12-03 01:27:19 +0000
committerPedro Alves <palves@redhat.com>2007-12-03 01:27:19 +0000
commit9c6c8194694da164762ba5ad7553ca73c65ede1d (patch)
tree88ab16cb6997e6bf499a4390ae20a96f463d54df /gdb/gdbserver/win32-low.h
parent4d5d1aaa19eac2f7bbdace73e44d4057bcd7a9c4 (diff)
downloadgdb-9c6c8194694da164762ba5ad7553ca73c65ede1d.zip
gdb-9c6c8194694da164762ba5ad7553ca73c65ede1d.tar.gz
gdb-9c6c8194694da164762ba5ad7553ca73c65ede1d.tar.bz2
* 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 c2bf06a..aad09dd 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;