[Lldb-commits] [PATCH] Implement a RegisterContext for Windows and hook it up to TargetThreadWindows

Zachary Turner zturner at google.com
Wed Nov 19 10:45:03 PST 2014


Hi clayborg,

This provides a very basic implementation of RegisterContext for Windows.  It supports only General Purpose Registers, and only x86.  In future patches we will add support for all of these things, as well as add an additional value to the RegisterKind enumeration for MSVC, since MSVC generated binaries have their own ABI and thusly their own encoding for register numbers.  

The idea behind this patch is simply to make sure RegisterContext is being implemented and tied into the Process plugin and the Thread class correctly from a high level, and OS / platform specific details can be filled in more completely later so I tried to keep the patch simple and general enough it can be reviewed without knowledge of Windows.

http://reviews.llvm.org/D6322

Files:
  source/Plugins/Process/Windows/CMakeLists.txt
  source/Plugins/Process/Windows/RegisterContextWindows_x86.cpp
  source/Plugins/Process/Windows/RegisterContextWindows_x86.h
  source/Plugins/Process/Windows/TargetThreadWindows.cpp
  source/Plugins/Process/Windows/TargetThreadWindows.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6322.16391.patch
Type: text/x-patch
Size: 18067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141119/5c7268b6/attachment.bin>


More information about the lldb-commits mailing list