diff options
author | Pedro Alves <palves@redhat.com> | 2007-12-03 01:27:19 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2007-12-03 01:27:19 +0000 |
commit | 9c6c8194694da164762ba5ad7553ca73c65ede1d (patch) | |
tree | 88ab16cb6997e6bf499a4390ae20a96f463d54df /gdb/gdbserver/win32-low.h | |
parent | 4d5d1aaa19eac2f7bbdace73e44d4057bcd7a9c4 (diff) | |
download | binutils-gdb-9c6c8194694da164762ba5ad7553ca73c65ede1d.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.h | 7 |
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; |