[ProcessWindows] Implement a RegisterContextWindows for x86.
authorZachary Turner <zturner@google.com>
Thu, 20 Nov 2014 22:47:32 +0000 (22:47 +0000)
committerZachary Turner <zturner@google.com>
Thu, 20 Nov 2014 22:47:32 +0000 (22:47 +0000)
commit17f383d498fa5e34717d8ee8b8c253dc5c109f14
treeb97fda70e8308af81263b9690036e5b4adbd81fc
parente35b07ad494f77707b385abc8e0bf680fdaea76f
[ProcessWindows] Implement a RegisterContextWindows for x86.

This implements the skeleton of a RegisterContext for Windows.
In particular, this implements support only for x86 general purpose
registers.

After this patch, LLDB on Windows can perform basic debugging
operations in a single-threaded inferior process (breakpoint,
register inspection, frame select, unwinding, etc).

Differential Revision: http://reviews.llvm.org/D6322
Reviewed by: Greg Clayton

llvm-svn: 222474
lldb/source/Plugins/Process/Windows/CMakeLists.txt
lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
lldb/source/Plugins/Process/Windows/RegisterContextWindows_x86.cpp [new file with mode: 0644]
lldb/source/Plugins/Process/Windows/RegisterContextWindows_x86.h [new file with mode: 0644]
lldb/source/Plugins/Process/Windows/TargetThreadWindows.cpp
lldb/source/Plugins/Process/Windows/TargetThreadWindows.h